Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-26 23:59:02.752586
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19777178
  datou_current_id : 2498595
in upload_from_sqlite, uploading in 19777178
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21012025/23/27/image_21012025_23_27_02_665920_0000.jpg', '/home/pi/Desktop/images/21012025/23/27/image_21012025_23_27_02_665920_0001.jpg', '/home/pi/Desktop/images/21012025/23/27/image_21012025_23_27_02_665920_0002.jpg', '/home/pi/Desktop/images/21012025/23/27/image_21012025_23_27_02_665920_0003.jpg', '/home/pi/Desktop/images/21012025/23/28/image_21012025_23_28_02_899832_0000.jpg', '/home/pi/Desktop/images/21012025/23/28/image_21012025_23_28_02_899832_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2498595&datou=0
/home/pi/Desktop/images/21012025/23/27/image_21012025_23_27_02_665920_0000.jpg
/home/pi/Desktop/images/21012025/23/27/image_21012025_23_27_02_665920_0001.jpg
/home/pi/Desktop/images/21012025/23/27/image_21012025_23_27_02_665920_0002.jpg
/home/pi/Desktop/images/21012025/23/27/image_21012025_23_27_02_665920_0003.jpg
/home/pi/Desktop/images/21012025/23/28/image_21012025_23_28_02_899832_0000.jpg
/home/pi/Desktop/images/21012025/23/28/image_21012025_23_28_02_899832_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331800644","1331800647","1331800655","1331800651","1331800660","1331800642"],"photo_ids_order":["1331800642","1331800644","1331800647","1331800651","1331800655","1331800660"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/b4cf582e39374c30c8ee47c2366be0bc.jpg","text":"TemporaryFile(/tmp/multipartBody8681313040076311094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737932468156,"filename":"image_21012025_23_27_02_665920_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/4e244a1566be32c9f630ebfe5f877d64.jpg","text":"TemporaryFile(/tmp/multipartBody50888269326314978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737932468156,"filename":"image_21012025_23_27_02_665920_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/51efc9f5ad085642888efd5f91820ac4.jpg","text":"TemporaryFile(/tmp/multipartBody7135458760617219122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737932468156,"filename":"image_21012025_23_28_02_899832_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/85e52903c338de858e70020102f2a24a.jpg","text":"TemporaryFile(/tmp/multipartBody3666682396173381046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737932468156,"filename":"image_21012025_23_27_02_665920_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/71ec3d8f6e1fa9c14794e6b3b5aa0be8.jpg","text":"TemporaryFile(/tmp/multipartBody7082036297285987022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737932468156,"filename":"image_21012025_23_28_02_899832_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/3b793c03383afb0053995a3fdde7cc79.jpg","text":"TemporaryFile(/tmp/multipartBody1972276956670355096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737932468156,"filename":"image_21012025_23_27_02_665920_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331800647","file1":"1331800644","file0":"1331800642","file4":"1331800655","file5":"1331800660","file3":"1331800651"},"map_files_photo_id_array":[{"photo_id":"1331800660","filename":"file5"},{"photo_id":"1331800647","filename":"file2"},{"photo_id":"1331800655","filename":"file4"},{"photo_id":"1331800644","filename":"file1"},{"photo_id":"1331800642","filename":"file0"},{"photo_id":"1331800651","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1331800644":["hashtag1","hashtag2"]},{"1331800647":["hashtag1","hashtag2"]},{"1331800655":["hashtag1","hashtag2"]},{"1331800651":["hashtag1","hashtag2"]},{"1331800660":["hashtag1","hashtag2"]},{"1331800642":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1331800644, 1331800647, 1331800655, 1331800651, 1331800660, 1331800642)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 111.4430136680603 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 00:01:02.866286
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : refus_amiens_0424_27012025
 fc.token : 832f9dd9be82d72b547808d5fcaa9529
True
{'portfolio_id': 19942284, 'actiontaken': ['Created new portfolio'], 'error': 'Photos id not exist !', 'updated_at': 1737932523000}
533
2516235
533
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/00/00/image_27012025_00_00_02_210268_0000.jpg', '/home/pi/Desktop/images/27012025/00/00/image_27012025_00_00_02_210268_0001.jpg', '/home/pi/Desktop/images/27012025/00/00/image_27012025_00_00_02_210268_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/00/00/image_27012025_00_00_02_210268_0000.jpg
/home/pi/Desktop/images/27012025/00/00/image_27012025_00_00_02_210268_0001.jpg
/home/pi/Desktop/images/27012025/00/00/image_27012025_00_00_02_210268_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331801042","1331801008","1331800959"],"photo_ids_order":["1331800959","1331801008","1331801042"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/639af7b0e6ef5d2fe810b5f64871113e.jpg","text":"TemporaryFile(/tmp/multipartBody454251617160420033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737932558313,"filename":"image_27012025_00_00_02_210268_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/abae133a38226354373c859155f49ce7.jpg","text":"TemporaryFile(/tmp/multipartBody2471356331103365223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737932558313,"filename":"image_27012025_00_00_02_210268_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/cd233a81d1a1096b26213236a6e96f81.jpg","text":"TemporaryFile(/tmp/multipartBody8259627111225326612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737932558313,"filename":"image_27012025_00_00_02_210268_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331801042","file1":"1331801008","file0":"1331800959"},"map_files_photo_id_array":[{"photo_id":"1331801042","filename":"file2"},{"photo_id":"1331801008","filename":"file1"},{"photo_id":"1331800959","filename":"file0"}],"portfolio_id":19942284,"hashtag_by_photo_ids":[{"1331801042":["hashtag1","hashtag2"]},{"1331801008":["hashtag1","hashtag2"]},{"1331800959":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942284 used, photo_id : ArrayBuffer(1331801042, 1331801008, 1331800959)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 58.37588405609131 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 00:02:02.682810
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/00/00/image_27012025_00_00_02_210268_0003.jpg', '/home/pi/Desktop/images/27012025/00/01/image_27012025_00_01_02_419638_0000.jpg', '/home/pi/Desktop/images/27012025/00/01/image_27012025_00_01_02_419638_0001.jpg', '/home/pi/Desktop/images/27012025/00/01/image_27012025_00_01_02_419638_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/00/00/image_27012025_00_00_02_210268_0003.jpg
/home/pi/Desktop/images/27012025/00/01/image_27012025_00_01_02_419638_0000.jpg
/home/pi/Desktop/images/27012025/00/01/image_27012025_00_01_02_419638_0001.jpg
/home/pi/Desktop/images/27012025/00/01/image_27012025_00_01_02_419638_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331801182","1331801185","1331801179","1331801176"],"photo_ids_order":["1331801176","1331801179","1331801182","1331801185"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/099bc882941238198f04dcb91451d37d.jpg","text":"TemporaryFile(/tmp/multipartBody1598437904425448091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737932624711,"filename":"image_27012025_00_01_02_419638_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/38a506666901bb03877aa53340c20fdb.jpg","text":"TemporaryFile(/tmp/multipartBody8008740174857862635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737932624711,"filename":"image_27012025_00_01_02_419638_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/371961f8103d48ae1e9faf1adf7e1a1f.jpg","text":"TemporaryFile(/tmp/multipartBody6059546799437987489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737932624711,"filename":"image_27012025_00_01_02_419638_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/5807cbb8615b897c936cbef91cfbd28e.jpg","text":"TemporaryFile(/tmp/multipartBody523719589427478436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737932624711,"filename":"image_27012025_00_00_02_210268_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331801182","file1":"1331801179","file0":"1331801176","file3":"1331801185"},"map_files_photo_id_array":[{"photo_id":"1331801182","filename":"file2"},{"photo_id":"1331801179","filename":"file1"},{"photo_id":"1331801176","filename":"file0"},{"photo_id":"1331801185","filename":"file3"}],"portfolio_id":19942284,"hashtag_by_photo_ids":[{"1331801182":["hashtag1","hashtag2"]},{"1331801185":["hashtag1","hashtag2"]},{"1331801179":["hashtag1","hashtag2"]},{"1331801176":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942284 used, photo_id : ArrayBuffer(1331801182, 1331801185, 1331801179, 1331801176)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 72.13674712181091 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-27 00:03:22.531650
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/00/01/image_27012025_00_01_02_419638_0003.jpg', '/home/pi/Desktop/images/27012025/00/02/image_27012025_00_02_02_608613_0000.jpg', '/home/pi/Desktop/images/27012025/00/02/image_27012025_00_02_02_608613_0001.jpg', '/home/pi/Desktop/images/27012025/00/02/image_27012025_00_02_02_608613_0002.jpg', '/home/pi/Desktop/images/27012025/00/02/image_27012025_00_02_02_608613_0003.jpg', '/home/pi/Desktop/images/27012025/00/03/image_27012025_00_03_02_717443_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/00/01/image_27012025_00_01_02_419638_0003.jpg
/home/pi/Desktop/images/27012025/00/02/image_27012025_00_02_02_608613_0000.jpg
/home/pi/Desktop/images/27012025/00/02/image_27012025_00_02_02_608613_0001.jpg
/home/pi/Desktop/images/27012025/00/02/image_27012025_00_02_02_608613_0002.jpg
/home/pi/Desktop/images/27012025/00/02/image_27012025_00_02_02_608613_0003.jpg
/home/pi/Desktop/images/27012025/00/03/image_27012025_00_03_02_717443_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331801412","1331801910","1331802059","1331801252","1331801698","1331801254"],"photo_ids_order":["1331801252","1331801254","1331801412","1331801698","1331801910","1331802059"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/6bd568fc6657581efa5d574102d99354.jpg","text":"TemporaryFile(/tmp/multipartBody2231591776970313901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737932725809,"filename":"image_27012025_00_02_02_608613_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/f2f617aa8ec79df70c0225a2c3d7b174.jpg","text":"TemporaryFile(/tmp/multipartBody7336229192086556066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737932725809,"filename":"image_27012025_00_02_02_608613_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/77f914ab8a5ec8454c84687987202f4b.jpg","text":"TemporaryFile(/tmp/multipartBody459977719505584138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737932725809,"filename":"image_27012025_00_03_02_717443_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/6cce5c0560b7147f7e614e5dcdfb5146.jpg","text":"TemporaryFile(/tmp/multipartBody1652535989930077921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737932725809,"filename":"image_27012025_00_01_02_419638_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/4ebee8082ceab7e6e6f3edd19f8aa05f.jpg","text":"TemporaryFile(/tmp/multipartBody2196472515109859109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737932725809,"filename":"image_27012025_00_02_02_608613_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/a7747879bb7299968ac67c4967d523c0.jpg","text":"TemporaryFile(/tmp/multipartBody7471663913992730622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737932725809,"filename":"image_27012025_00_02_02_608613_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331801412","file1":"1331801254","file0":"1331801252","file4":"1331801910","file5":"1331802059","file3":"1331801698"},"map_files_photo_id_array":[{"photo_id":"1331802059","filename":"file5"},{"photo_id":"1331801412","filename":"file2"},{"photo_id":"1331801910","filename":"file4"},{"photo_id":"1331801254","filename":"file1"},{"photo_id":"1331801252","filename":"file0"},{"photo_id":"1331801698","filename":"file3"}],"portfolio_id":19942284,"hashtag_by_photo_ids":[{"1331801412":["hashtag1","hashtag2"]},{"1331801910":["hashtag1","hashtag2"]},{"1331802059":["hashtag1","hashtag2"]},{"1331801252":["hashtag1","hashtag2"]},{"1331801698":["hashtag1","hashtag2"]},{"1331801254":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942284 used, photo_id : ArrayBuffer(1331801412, 1331801910, 1331802059, 1331801252, 1331801698, 1331801254)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 105.45660352706909 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-27 00:05:21.954191
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/00/03/image_27012025_00_03_02_717443_0001.jpg', '/home/pi/Desktop/images/27012025/00/03/image_27012025_00_03_02_717443_0002.jpg', '/home/pi/Desktop/images/27012025/00/03/image_27012025_00_03_02_717443_0003.jpg', '/home/pi/Desktop/images/27012025/00/04/image_27012025_00_04_02_958483_0000.jpg', '/home/pi/Desktop/images/27012025/00/04/image_27012025_00_04_02_958483_0001.jpg', '/home/pi/Desktop/images/27012025/00/04/image_27012025_00_04_02_958483_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/00/03/image_27012025_00_03_02_717443_0001.jpg
/home/pi/Desktop/images/27012025/00/03/image_27012025_00_03_02_717443_0002.jpg
/home/pi/Desktop/images/27012025/00/03/image_27012025_00_03_02_717443_0003.jpg
/home/pi/Desktop/images/27012025/00/04/image_27012025_00_04_02_958483_0000.jpg
/home/pi/Desktop/images/27012025/00/04/image_27012025_00_04_02_958483_0001.jpg
/home/pi/Desktop/images/27012025/00/04/image_27012025_00_04_02_958483_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331802500","1331802503","1331802493","1331802511","1331802495","1331802507"],"photo_ids_order":["1331802493","1331802495","1331802500","1331802503","1331802507","1331802511"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/699ee2dc5c39cefb7a925b9f38bf7db8.jpg","text":"TemporaryFile(/tmp/multipartBody4676203837262723969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737932846417,"filename":"image_27012025_00_03_02_717443_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/27fd391321b2e7cc3f4839a1fce79d95.jpg","text":"TemporaryFile(/tmp/multipartBody6008960380660545267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737932846417,"filename":"image_27012025_00_04_02_958483_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/cc85c585db88e78c74d42c929246df95.jpg","text":"TemporaryFile(/tmp/multipartBody8832183012148882757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737932846417,"filename":"image_27012025_00_03_02_717443_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/277281cf8fc5dd50629d7d7b9180e412.jpg","text":"TemporaryFile(/tmp/multipartBody4388598234436461563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737932846417,"filename":"image_27012025_00_04_02_958483_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/815cc0d4746b89ccaf47e078fc90c6fe.jpg","text":"TemporaryFile(/tmp/multipartBody7956297271892259479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737932846417,"filename":"image_27012025_00_03_02_717443_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/f7081c98f23c6edd3d6d69c5c307f7aa.jpg","text":"TemporaryFile(/tmp/multipartBody1919052394490623405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737932846417,"filename":"image_27012025_00_04_02_958483_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331802500","file1":"1331802495","file0":"1331802493","file4":"1331802507","file5":"1331802511","file3":"1331802503"},"map_files_photo_id_array":[{"photo_id":"1331802511","filename":"file5"},{"photo_id":"1331802500","filename":"file2"},{"photo_id":"1331802507","filename":"file4"},{"photo_id":"1331802495","filename":"file1"},{"photo_id":"1331802493","filename":"file0"},{"photo_id":"1331802503","filename":"file3"}],"portfolio_id":19942284,"hashtag_by_photo_ids":[{"1331802500":["hashtag1","hashtag2"]},{"1331802503":["hashtag1","hashtag2"]},{"1331802493":["hashtag1","hashtag2"]},{"1331802511":["hashtag1","hashtag2"]},{"1331802495":["hashtag1","hashtag2"]},{"1331802507":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942284 used, photo_id : ArrayBuffer(1331802500, 1331802503, 1331802493, 1331802511, 1331802495, 1331802507)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 104.90523362159729 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-27 00:07:22.377098
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/00/04/image_27012025_00_04_02_958483_0003.jpg', '/home/pi/Desktop/images/27012025/00/05/image_27012025_00_05_03_095521_0000.jpg', '/home/pi/Desktop/images/27012025/00/05/image_27012025_00_05_03_095521_0001.jpg', '/home/pi/Desktop/images/27012025/00/05/image_27012025_00_05_03_095521_0002.jpg', '/home/pi/Desktop/images/27012025/00/05/image_27012025_00_05_03_095521_0003.jpg', '/home/pi/Desktop/images/27012025/00/06/image_27012025_00_06_02_322736_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/00/04/image_27012025_00_04_02_958483_0003.jpg
/home/pi/Desktop/images/27012025/00/05/image_27012025_00_05_03_095521_0000.jpg
/home/pi/Desktop/images/27012025/00/05/image_27012025_00_05_03_095521_0001.jpg
/home/pi/Desktop/images/27012025/00/05/image_27012025_00_05_03_095521_0002.jpg
/home/pi/Desktop/images/27012025/00/05/image_27012025_00_05_03_095521_0003.jpg
/home/pi/Desktop/images/27012025/00/06/image_27012025_00_06_02_322736_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331802638","1331802626","1331802634","1331802622","1331802630","1331802621"],"photo_ids_order":["1331802621","1331802622","1331802626","1331802630","1331802634","1331802638"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/0497129c34815ade6b24ba0de11d0e73.jpg","text":"TemporaryFile(/tmp/multipartBody8552791858377539532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737932966633,"filename":"image_27012025_00_06_02_322736_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/9eb6de6f9c445fc724a8743fb52f4380.jpg","text":"TemporaryFile(/tmp/multipartBody5777627410657830991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737932966633,"filename":"image_27012025_00_05_03_095521_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/ccb11b94e5c9ef209cec16bb61cdb388.jpg","text":"TemporaryFile(/tmp/multipartBody414731475027636752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737932966633,"filename":"image_27012025_00_05_03_095521_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/7b1ca4a0321ad6f3de44584bd427ddd6.jpg","text":"TemporaryFile(/tmp/multipartBody723434423753241929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737932966633,"filename":"image_27012025_00_05_03_095521_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/fd37cf134a60ed4d61c2cbb91749c9a4.jpg","text":"TemporaryFile(/tmp/multipartBody9138186414350862022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737932966633,"filename":"image_27012025_00_05_03_095521_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/e63c7be4499e35d8289cab0578e499dc.jpg","text":"TemporaryFile(/tmp/multipartBody6537832019769384101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737932966633,"filename":"image_27012025_00_04_02_958483_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331802626","file1":"1331802622","file0":"1331802621","file4":"1331802634","file5":"1331802638","file3":"1331802630"},"map_files_photo_id_array":[{"photo_id":"1331802638","filename":"file5"},{"photo_id":"1331802626","filename":"file2"},{"photo_id":"1331802634","filename":"file4"},{"photo_id":"1331802622","filename":"file1"},{"photo_id":"1331802621","filename":"file0"},{"photo_id":"1331802630","filename":"file3"}],"portfolio_id":19942284,"hashtag_by_photo_ids":[{"1331802638":["hashtag1","hashtag2"]},{"1331802626":["hashtag1","hashtag2"]},{"1331802634":["hashtag1","hashtag2"]},{"1331802622":["hashtag1","hashtag2"]},{"1331802630":["hashtag1","hashtag2"]},{"1331802621":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942284 used, photo_id : ArrayBuffer(1331802638, 1331802626, 1331802634, 1331802622, 1331802630, 1331802621)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 103.93504595756531 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-27 00:09:21.775145
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/00/06/image_27012025_00_06_02_322736_0001.jpg', '/home/pi/Desktop/images/27012025/00/06/image_27012025_00_06_02_322736_0002.jpg', '/home/pi/Desktop/images/27012025/00/06/image_27012025_00_06_02_322736_0003.jpg', '/home/pi/Desktop/images/27012025/00/07/image_27012025_00_07_02_538817_0000.jpg', '/home/pi/Desktop/images/27012025/00/07/image_27012025_00_07_02_538817_0001.jpg', '/home/pi/Desktop/images/27012025/00/07/image_27012025_00_07_02_538817_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/00/06/image_27012025_00_06_02_322736_0001.jpg
/home/pi/Desktop/images/27012025/00/06/image_27012025_00_06_02_322736_0002.jpg
/home/pi/Desktop/images/27012025/00/06/image_27012025_00_06_02_322736_0003.jpg
/home/pi/Desktop/images/27012025/00/07/image_27012025_00_07_02_538817_0000.jpg
/home/pi/Desktop/images/27012025/00/07/image_27012025_00_07_02_538817_0001.jpg
/home/pi/Desktop/images/27012025/00/07/image_27012025_00_07_02_538817_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331802683","1331802681","1331802675","1331802690","1331802686","1331802671"],"photo_ids_order":["1331802671","1331802675","1331802681","1331802683","1331802686","1331802690"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/18f57348f3cb383c3223e8bc4310ab31.jpg","text":"TemporaryFile(/tmp/multipartBody2900666609815281608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737933086622,"filename":"image_27012025_00_07_02_538817_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/a2dd669278283c36b02f417482100343.jpg","text":"TemporaryFile(/tmp/multipartBody7003532852910695741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737933086622,"filename":"image_27012025_00_06_02_322736_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/2ea40ca543e9db748080d2ee6a737987.jpg","text":"TemporaryFile(/tmp/multipartBody2109949782296132571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737933086622,"filename":"image_27012025_00_06_02_322736_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/6bd1e9abd29ac6935def6a1a6c57db7f.jpg","text":"TemporaryFile(/tmp/multipartBody6479450469941231797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737933086622,"filename":"image_27012025_00_07_02_538817_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/c0aaccc66f8d906c7a3453cec96ab0b1.jpg","text":"TemporaryFile(/tmp/multipartBody4375533686334932915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737933086622,"filename":"image_27012025_00_07_02_538817_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/cb5f645b108919ea5f81720b04e2b18d.jpg","text":"TemporaryFile(/tmp/multipartBody388443268125268046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737933086622,"filename":"image_27012025_00_06_02_322736_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331802681","file1":"1331802675","file0":"1331802671","file4":"1331802686","file5":"1331802690","file3":"1331802683"},"map_files_photo_id_array":[{"photo_id":"1331802690","filename":"file5"},{"photo_id":"1331802681","filename":"file2"},{"photo_id":"1331802686","filename":"file4"},{"photo_id":"1331802675","filename":"file1"},{"photo_id":"1331802671","filename":"file0"},{"photo_id":"1331802683","filename":"file3"}],"portfolio_id":19942284,"hashtag_by_photo_ids":[{"1331802683":["hashtag1","hashtag2"]},{"1331802681":["hashtag1","hashtag2"]},{"1331802675":["hashtag1","hashtag2"]},{"1331802690":["hashtag1","hashtag2"]},{"1331802686":["hashtag1","hashtag2"]},{"1331802671":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942284 used, photo_id : ArrayBuffer(1331802683, 1331802681, 1331802675, 1331802690, 1331802686, 1331802671)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 104.46482539176941 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-27 00:11:22.129684
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/00/07/image_27012025_00_07_02_538817_0003.jpg', '/home/pi/Desktop/images/27012025/00/08/image_27012025_00_08_02_725447_0000.jpg', '/home/pi/Desktop/images/27012025/00/08/image_27012025_00_08_02_725447_0001.jpg', '/home/pi/Desktop/images/27012025/00/08/image_27012025_00_08_02_725447_0002.jpg', '/home/pi/Desktop/images/27012025/00/08/image_27012025_00_08_02_725447_0003.jpg', '/home/pi/Desktop/images/27012025/00/09/image_27012025_00_09_02_938354_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/00/07/image_27012025_00_07_02_538817_0003.jpg
/home/pi/Desktop/images/27012025/00/08/image_27012025_00_08_02_725447_0000.jpg
/home/pi/Desktop/images/27012025/00/08/image_27012025_00_08_02_725447_0001.jpg
/home/pi/Desktop/images/27012025/00/08/image_27012025_00_08_02_725447_0002.jpg
/home/pi/Desktop/images/27012025/00/08/image_27012025_00_08_02_725447_0003.jpg
/home/pi/Desktop/images/27012025/00/09/image_27012025_00_09_02_938354_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331802740","1331802746","1331802727","1331802736","1331802724","1331802732"],"photo_ids_order":["1331802724","1331802727","1331802732","1331802736","1331802740","1331802746"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/17894d49d22303cd7006fc8bab7eed08.jpg","text":"TemporaryFile(/tmp/multipartBody5143372508372465815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737933207466,"filename":"image_27012025_00_08_02_725447_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/e941a6aad578389e58bee437d6b1504c.jpg","text":"TemporaryFile(/tmp/multipartBody6594561798532046935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737933207466,"filename":"image_27012025_00_09_02_938354_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/e4234373dd90fcf37750cf3034c9a7d8.jpg","text":"TemporaryFile(/tmp/multipartBody7063559623324734941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737933207466,"filename":"image_27012025_00_08_02_725447_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/6602ead05c8d9df9feeaa516a791b571.jpg","text":"TemporaryFile(/tmp/multipartBody344470249889484207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737933207466,"filename":"image_27012025_00_08_02_725447_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/bd10648b3a8fdbb06ecf1139f03e08dc.jpg","text":"TemporaryFile(/tmp/multipartBody1788968445200700346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737933207466,"filename":"image_27012025_00_07_02_538817_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/0f9084b1762c4478cd9adc421f30972e.jpg","text":"TemporaryFile(/tmp/multipartBody3809226135980930373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737933207466,"filename":"image_27012025_00_08_02_725447_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331802732","file1":"1331802727","file0":"1331802724","file4":"1331802740","file5":"1331802746","file3":"1331802736"},"map_files_photo_id_array":[{"photo_id":"1331802746","filename":"file5"},{"photo_id":"1331802732","filename":"file2"},{"photo_id":"1331802740","filename":"file4"},{"photo_id":"1331802727","filename":"file1"},{"photo_id":"1331802724","filename":"file0"},{"photo_id":"1331802736","filename":"file3"}],"portfolio_id":19942284,"hashtag_by_photo_ids":[{"1331802740":["hashtag1","hashtag2"]},{"1331802746":["hashtag1","hashtag2"]},{"1331802727":["hashtag1","hashtag2"]},{"1331802736":["hashtag1","hashtag2"]},{"1331802724":["hashtag1","hashtag2"]},{"1331802732":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942284 used, photo_id : ArrayBuffer(1331802740, 1331802746, 1331802727, 1331802736, 1331802724, 1331802732)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 105.97859621047974 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-27 00:13:22.558646
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/00/09/image_27012025_00_09_02_938354_0001.jpg', '/home/pi/Desktop/images/27012025/00/09/image_27012025_00_09_02_938354_0002.jpg', '/home/pi/Desktop/images/27012025/00/09/image_27012025_00_09_02_938354_0003.jpg', '/home/pi/Desktop/images/27012025/00/10/image_27012025_00_10_02_170733_0000.jpg', '/home/pi/Desktop/images/27012025/00/10/image_27012025_00_10_02_170733_0001.jpg', '/home/pi/Desktop/images/27012025/00/10/image_27012025_00_10_02_170733_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/00/09/image_27012025_00_09_02_938354_0001.jpg
/home/pi/Desktop/images/27012025/00/09/image_27012025_00_09_02_938354_0002.jpg
/home/pi/Desktop/images/27012025/00/09/image_27012025_00_09_02_938354_0003.jpg
/home/pi/Desktop/images/27012025/00/10/image_27012025_00_10_02_170733_0000.jpg
/home/pi/Desktop/images/27012025/00/10/image_27012025_00_10_02_170733_0001.jpg
/home/pi/Desktop/images/27012025/00/10/image_27012025_00_10_02_170733_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331802830","1331802811","1331802820","1331802814","1331802817","1331802825"],"photo_ids_order":["1331802811","1331802814","1331802817","1331802820","1331802825","1331802830"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/d83c294b894fa1f0dd4940f0792276ce.jpg","text":"TemporaryFile(/tmp/multipartBody5894009823214825324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737933327594,"filename":"image_27012025_00_10_02_170733_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/3fea9108302365a42eb4143fdf8af217.jpg","text":"TemporaryFile(/tmp/multipartBody8253814709699761848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737933327594,"filename":"image_27012025_00_09_02_938354_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/6f0716cf7450e241238426635431d6e4.jpg","text":"TemporaryFile(/tmp/multipartBody8180128897550269903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737933327594,"filename":"image_27012025_00_10_02_170733_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/67377d746c4d5ab4a44251275f2a3fa2.jpg","text":"TemporaryFile(/tmp/multipartBody5284720240774397750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737933327594,"filename":"image_27012025_00_09_02_938354_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/1bd528c2c120b17c960de744bf2b6e07.jpg","text":"TemporaryFile(/tmp/multipartBody5808920833320446733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737933327594,"filename":"image_27012025_00_09_02_938354_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/4ac72dbcf5b113d0d8711f3d667389cf.jpg","text":"TemporaryFile(/tmp/multipartBody170394881810697323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737933327594,"filename":"image_27012025_00_10_02_170733_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331802817","file1":"1331802814","file0":"1331802811","file4":"1331802825","file5":"1331802830","file3":"1331802820"},"map_files_photo_id_array":[{"photo_id":"1331802830","filename":"file5"},{"photo_id":"1331802817","filename":"file2"},{"photo_id":"1331802825","filename":"file4"},{"photo_id":"1331802814","filename":"file1"},{"photo_id":"1331802811","filename":"file0"},{"photo_id":"1331802820","filename":"file3"}],"portfolio_id":19942284,"hashtag_by_photo_ids":[{"1331802830":["hashtag1","hashtag2"]},{"1331802811":["hashtag1","hashtag2"]},{"1331802820":["hashtag1","hashtag2"]},{"1331802814":["hashtag1","hashtag2"]},{"1331802817":["hashtag1","hashtag2"]},{"1331802825":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942284 used, photo_id : ArrayBuffer(1331802830, 1331802811, 1331802820, 1331802814, 1331802817, 1331802825)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 107.92337608337402 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-27 00:15:21.960879
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/00/10/image_27012025_00_10_02_170733_0003.jpg', '/home/pi/Desktop/images/27012025/00/11/image_27012025_00_11_02_401985_0000.jpg', '/home/pi/Desktop/images/27012025/00/11/image_27012025_00_11_02_401985_0001.jpg', '/home/pi/Desktop/images/27012025/00/11/image_27012025_00_11_02_401985_0002.jpg', '/home/pi/Desktop/images/27012025/00/11/image_27012025_00_11_02_401985_0003.jpg', '/home/pi/Desktop/images/27012025/00/12/image_27012025_00_12_02_609665_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/00/10/image_27012025_00_10_02_170733_0003.jpg
/home/pi/Desktop/images/27012025/00/11/image_27012025_00_11_02_401985_0000.jpg
/home/pi/Desktop/images/27012025/00/11/image_27012025_00_11_02_401985_0001.jpg
/home/pi/Desktop/images/27012025/00/11/image_27012025_00_11_02_401985_0002.jpg
/home/pi/Desktop/images/27012025/00/11/image_27012025_00_11_02_401985_0003.jpg
/home/pi/Desktop/images/27012025/00/12/image_27012025_00_12_02_609665_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331803024","1331803065","1331803062","1331803059","1331803070","1331803040"],"photo_ids_order":["1331803024","1331803040","1331803059","1331803062","1331803065","1331803070"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/19527dcd40634dcd8094fca4238c7fcb.jpg","text":"TemporaryFile(/tmp/multipartBody8856633363768522184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737933447573,"filename":"image_27012025_00_10_02_170733_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/d073aa3e808a34b5403341b319d029fc.jpg","text":"TemporaryFile(/tmp/multipartBody6351650571594642883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737933447573,"filename":"image_27012025_00_11_02_401985_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/6d37aa15e997c03fc43f8a05a2714e17.jpg","text":"TemporaryFile(/tmp/multipartBody6651845926653029625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737933447573,"filename":"image_27012025_00_11_02_401985_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/3752c4588edaecb87f7817eb9883b0b9.jpg","text":"TemporaryFile(/tmp/multipartBody5440565540623191518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737933447573,"filename":"image_27012025_00_11_02_401985_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/eaa74e3bc267eba5563bc07d8c60f703.jpg","text":"TemporaryFile(/tmp/multipartBody6172858147201454648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737933447573,"filename":"image_27012025_00_12_02_609665_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/13939c94d29c6fa4e843335c5ed9667c.jpg","text":"TemporaryFile(/tmp/multipartBody2908793781061811075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737933447573,"filename":"image_27012025_00_11_02_401985_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331803059","file1":"1331803040","file0":"1331803024","file4":"1331803065","file5":"1331803070","file3":"1331803062"},"map_files_photo_id_array":[{"photo_id":"1331803070","filename":"file5"},{"photo_id":"1331803059","filename":"file2"},{"photo_id":"1331803065","filename":"file4"},{"photo_id":"1331803040","filename":"file1"},{"photo_id":"1331803024","filename":"file0"},{"photo_id":"1331803062","filename":"file3"}],"portfolio_id":19942284,"hashtag_by_photo_ids":[{"1331803024":["hashtag1","hashtag2"]},{"1331803065":["hashtag1","hashtag2"]},{"1331803062":["hashtag1","hashtag2"]},{"1331803059":["hashtag1","hashtag2"]},{"1331803070":["hashtag1","hashtag2"]},{"1331803040":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942284 used, photo_id : ArrayBuffer(1331803024, 1331803065, 1331803062, 1331803059, 1331803070, 1331803040)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 104.61665534973145 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-27 00:17:22.259369
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/00/12/image_27012025_00_12_02_609665_0001.jpg', '/home/pi/Desktop/images/27012025/00/12/image_27012025_00_12_02_609665_0002.jpg', '/home/pi/Desktop/images/27012025/00/12/image_27012025_00_12_02_609665_0003.jpg', '/home/pi/Desktop/images/27012025/00/13/image_27012025_00_13_02_736349_0000.jpg', '/home/pi/Desktop/images/27012025/00/13/image_27012025_00_13_02_736349_0001.jpg', '/home/pi/Desktop/images/27012025/00/13/image_27012025_00_13_02_736349_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/00/12/image_27012025_00_12_02_609665_0001.jpg
/home/pi/Desktop/images/27012025/00/12/image_27012025_00_12_02_609665_0002.jpg
/home/pi/Desktop/images/27012025/00/12/image_27012025_00_12_02_609665_0003.jpg
/home/pi/Desktop/images/27012025/00/13/image_27012025_00_13_02_736349_0000.jpg
/home/pi/Desktop/images/27012025/00/13/image_27012025_00_13_02_736349_0001.jpg
/home/pi/Desktop/images/27012025/00/13/image_27012025_00_13_02_736349_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331803136","1331803138","1331803132","1331803140","1331803142","1331803130"],"photo_ids_order":["1331803130","1331803132","1331803136","1331803138","1331803140","1331803142"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/f197f38db5c0f6d2a8854cd00153d559.jpg","text":"TemporaryFile(/tmp/multipartBody5770786669491166018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737933566252,"filename":"image_27012025_00_12_02_609665_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/2064ada71edb00be1813a6361a00ab99.jpg","text":"TemporaryFile(/tmp/multipartBody6189882442157778158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737933566252,"filename":"image_27012025_00_13_02_736349_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/f6efff1a16eb4aa17c77896eabb47aa7.jpg","text":"TemporaryFile(/tmp/multipartBody8456296973351318560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737933566252,"filename":"image_27012025_00_12_02_609665_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/781b940d29f04557766541faee3139e2.jpg","text":"TemporaryFile(/tmp/multipartBody2269241807614926498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737933566252,"filename":"image_27012025_00_13_02_736349_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/76ab1f3f97a3bc03fcfe279466670232.jpg","text":"TemporaryFile(/tmp/multipartBody3678125157286645194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737933566252,"filename":"image_27012025_00_13_02_736349_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/f3cb7a282927b6804bc771afdcb1b2d4.jpg","text":"TemporaryFile(/tmp/multipartBody5488051620022132431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737933566252,"filename":"image_27012025_00_12_02_609665_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331803136","file1":"1331803132","file0":"1331803130","file4":"1331803140","file5":"1331803142","file3":"1331803138"},"map_files_photo_id_array":[{"photo_id":"1331803142","filename":"file5"},{"photo_id":"1331803136","filename":"file2"},{"photo_id":"1331803140","filename":"file4"},{"photo_id":"1331803132","filename":"file1"},{"photo_id":"1331803130","filename":"file0"},{"photo_id":"1331803138","filename":"file3"}],"portfolio_id":19942284,"hashtag_by_photo_ids":[{"1331803136":["hashtag1","hashtag2"]},{"1331803138":["hashtag1","hashtag2"]},{"1331803132":["hashtag1","hashtag2"]},{"1331803140":["hashtag1","hashtag2"]},{"1331803142":["hashtag1","hashtag2"]},{"1331803130":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942284 used, photo_id : ArrayBuffer(1331803136, 1331803138, 1331803132, 1331803140, 1331803142, 1331803130)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 103.63713884353638 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-27 00:19:22.627125
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/00/13/image_27012025_00_13_02_736349_0003.jpg', '/home/pi/Desktop/images/27012025/00/14/image_27012025_00_14_02_933948_0000.jpg', '/home/pi/Desktop/images/27012025/00/14/image_27012025_00_14_02_933948_0001.jpg', '/home/pi/Desktop/images/27012025/00/14/image_27012025_00_14_02_933948_0002.jpg', '/home/pi/Desktop/images/27012025/00/14/image_27012025_00_14_02_933948_0003.jpg', '/home/pi/Desktop/images/27012025/00/15/image_27012025_00_15_02_148175_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/00/13/image_27012025_00_13_02_736349_0003.jpg
/home/pi/Desktop/images/27012025/00/14/image_27012025_00_14_02_933948_0000.jpg
/home/pi/Desktop/images/27012025/00/14/image_27012025_00_14_02_933948_0001.jpg
/home/pi/Desktop/images/27012025/00/14/image_27012025_00_14_02_933948_0002.jpg
/home/pi/Desktop/images/27012025/00/14/image_27012025_00_14_02_933948_0003.jpg
/home/pi/Desktop/images/27012025/00/15/image_27012025_00_15_02_148175_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331803867","1331803863","1331803869","1331803860","1331803865","1331803739"],"photo_ids_order":["1331803739","1331803860","1331803863","1331803865","1331803867","1331803869"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/27cd52f582635dbb36343e2c0816fe54.jpg","text":"TemporaryFile(/tmp/multipartBody6799948700976059584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737933688262,"filename":"image_27012025_00_14_02_933948_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/f46a91b1225bdedd65b8e219fb8722e6.jpg","text":"TemporaryFile(/tmp/multipartBody5087061881277916066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737933688262,"filename":"image_27012025_00_14_02_933948_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/9a70d012e8807630709ccda335efeb5e.jpg","text":"TemporaryFile(/tmp/multipartBody7848347629540285006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737933688262,"filename":"image_27012025_00_15_02_148175_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/8d78e0f135bdfd63794c17bbe8459f8a.jpg","text":"TemporaryFile(/tmp/multipartBody4007529309903510436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737933688262,"filename":"image_27012025_00_14_02_933948_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/5af22f0a02089df1631110f111dfdaab.jpg","text":"TemporaryFile(/tmp/multipartBody7790630886274029414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737933688262,"filename":"image_27012025_00_14_02_933948_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/4ff2379d83c171584e2f38cee9d4c61d.jpg","text":"TemporaryFile(/tmp/multipartBody8177013056508699146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737933688262,"filename":"image_27012025_00_13_02_736349_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331803863","file1":"1331803860","file0":"1331803739","file4":"1331803867","file5":"1331803869","file3":"1331803865"},"map_files_photo_id_array":[{"photo_id":"1331803869","filename":"file5"},{"photo_id":"1331803863","filename":"file2"},{"photo_id":"1331803867","filename":"file4"},{"photo_id":"1331803860","filename":"file1"},{"photo_id":"1331803739","filename":"file0"},{"photo_id":"1331803865","filename":"file3"}],"portfolio_id":19942284,"hashtag_by_photo_ids":[{"1331803867":["hashtag1","hashtag2"]},{"1331803863":["hashtag1","hashtag2"]},{"1331803869":["hashtag1","hashtag2"]},{"1331803860":["hashtag1","hashtag2"]},{"1331803865":["hashtag1","hashtag2"]},{"1331803739":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942284 used, photo_id : ArrayBuffer(1331803867, 1331803863, 1331803869, 1331803860, 1331803865, 1331803739)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 107.29126453399658 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-27 00:21:22.008257
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/00/15/image_27012025_00_15_02_148175_0001.jpg', '/home/pi/Desktop/images/27012025/00/15/image_27012025_00_15_02_148175_0002.jpg', '/home/pi/Desktop/images/27012025/00/15/image_27012025_00_15_02_148175_0003.jpg', '/home/pi/Desktop/images/27012025/00/16/image_27012025_00_16_02_317803_0000.jpg', '/home/pi/Desktop/images/27012025/00/16/image_27012025_00_16_02_317803_0001.jpg', '/home/pi/Desktop/images/27012025/00/16/image_27012025_00_16_02_317803_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/00/15/image_27012025_00_15_02_148175_0001.jpg
/home/pi/Desktop/images/27012025/00/15/image_27012025_00_15_02_148175_0002.jpg
/home/pi/Desktop/images/27012025/00/15/image_27012025_00_15_02_148175_0003.jpg
/home/pi/Desktop/images/27012025/00/16/image_27012025_00_16_02_317803_0000.jpg
/home/pi/Desktop/images/27012025/00/16/image_27012025_00_16_02_317803_0001.jpg
/home/pi/Desktop/images/27012025/00/16/image_27012025_00_16_02_317803_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331804347","1331804472","1331804481","1331804483","1331804468","1331804476"],"photo_ids_order":["1331804347","1331804468","1331804472","1331804476","1331804481","1331804483"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/a7de044a1c9650780c90c0b22bb0e9c3.jpg","text":"TemporaryFile(/tmp/multipartBody6422590244705598484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737933807338,"filename":"image_27012025_00_15_02_148175_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/f9546947f844cf2d570575e8695cc487.jpg","text":"TemporaryFile(/tmp/multipartBody8549423206504458870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737933807338,"filename":"image_27012025_00_15_02_148175_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/b23e6e106e9a6e7f442be48e1cc49140.jpg","text":"TemporaryFile(/tmp/multipartBody3449766430504896751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737933807338,"filename":"image_27012025_00_16_02_317803_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/70b11daf08010b5875ba6af3c9eb3edf.jpg","text":"TemporaryFile(/tmp/multipartBody3062946485135361685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737933807338,"filename":"image_27012025_00_16_02_317803_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/55d3e836a7715ff4a400351737399c34.jpg","text":"TemporaryFile(/tmp/multipartBody3106676284048480368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737933807338,"filename":"image_27012025_00_15_02_148175_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/574f7ad2f862c55a2cbca9c5891ced83.jpg","text":"TemporaryFile(/tmp/multipartBody474326683801386848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737933807338,"filename":"image_27012025_00_16_02_317803_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331804472","file1":"1331804468","file0":"1331804347","file4":"1331804481","file5":"1331804483","file3":"1331804476"},"map_files_photo_id_array":[{"photo_id":"1331804483","filename":"file5"},{"photo_id":"1331804472","filename":"file2"},{"photo_id":"1331804481","filename":"file4"},{"photo_id":"1331804468","filename":"file1"},{"photo_id":"1331804347","filename":"file0"},{"photo_id":"1331804476","filename":"file3"}],"portfolio_id":19942284,"hashtag_by_photo_ids":[{"1331804347":["hashtag1","hashtag2"]},{"1331804472":["hashtag1","hashtag2"]},{"1331804481":["hashtag1","hashtag2"]},{"1331804483":["hashtag1","hashtag2"]},{"1331804468":["hashtag1","hashtag2"]},{"1331804476":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942284 used, photo_id : ArrayBuffer(1331804347, 1331804472, 1331804481, 1331804483, 1331804468, 1331804476)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 108.75863146781921 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-27 00:23:22.368776
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/00/16/image_27012025_00_16_02_317803_0003.jpg', '/home/pi/Desktop/images/27012025/00/17/image_27012025_00_17_02_619241_0000.jpg', '/home/pi/Desktop/images/27012025/00/17/image_27012025_00_17_02_619241_0001.jpg', '/home/pi/Desktop/images/27012025/00/17/image_27012025_00_17_02_619241_0002.jpg', '/home/pi/Desktop/images/27012025/00/17/image_27012025_00_17_02_619241_0003.jpg', '/home/pi/Desktop/images/27012025/00/18/image_27012025_00_18_02_661602_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/00/16/image_27012025_00_16_02_317803_0003.jpg
/home/pi/Desktop/images/27012025/00/17/image_27012025_00_17_02_619241_0000.jpg
/home/pi/Desktop/images/27012025/00/17/image_27012025_00_17_02_619241_0001.jpg
/home/pi/Desktop/images/27012025/00/17/image_27012025_00_17_02_619241_0002.jpg
/home/pi/Desktop/images/27012025/00/17/image_27012025_00_17_02_619241_0003.jpg
/home/pi/Desktop/images/27012025/00/18/image_27012025_00_18_02_661602_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331804527","1331804535","1331804538","1331804523","1331804531","1331804519"],"photo_ids_order":["1331804519","1331804523","1331804527","1331804531","1331804535","1331804538"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/26a3e9685d0e75cf386d9564b21b387b.jpg","text":"TemporaryFile(/tmp/multipartBody2454772079500839902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737933927629,"filename":"image_27012025_00_17_02_619241_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/39421531b5c63ee487b6e05e4bb21c72.jpg","text":"TemporaryFile(/tmp/multipartBody985251958093737615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737933927629,"filename":"image_27012025_00_17_02_619241_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/d5724deec8202678268fbc1b5d8b12cd.jpg","text":"TemporaryFile(/tmp/multipartBody5709891344360377902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737933927629,"filename":"image_27012025_00_18_02_661602_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/6b8c21df06bd35b9b924dc44eff23519.jpg","text":"TemporaryFile(/tmp/multipartBody2767701025437633938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737933927629,"filename":"image_27012025_00_17_02_619241_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/5655670334198d08202e65f954fe2194.jpg","text":"TemporaryFile(/tmp/multipartBody6126196241763413840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737933927629,"filename":"image_27012025_00_17_02_619241_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/1fb06ba869e6c3fb4a426e12b635108d.jpg","text":"TemporaryFile(/tmp/multipartBody4068717668357847713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737933927629,"filename":"image_27012025_00_16_02_317803_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331804527","file1":"1331804523","file0":"1331804519","file4":"1331804535","file5":"1331804538","file3":"1331804531"},"map_files_photo_id_array":[{"photo_id":"1331804538","filename":"file5"},{"photo_id":"1331804527","filename":"file2"},{"photo_id":"1331804535","filename":"file4"},{"photo_id":"1331804523","filename":"file1"},{"photo_id":"1331804519","filename":"file0"},{"photo_id":"1331804531","filename":"file3"}],"portfolio_id":19942284,"hashtag_by_photo_ids":[{"1331804527":["hashtag1","hashtag2"]},{"1331804535":["hashtag1","hashtag2"]},{"1331804538":["hashtag1","hashtag2"]},{"1331804523":["hashtag1","hashtag2"]},{"1331804531":["hashtag1","hashtag2"]},{"1331804519":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942284 used, photo_id : ArrayBuffer(1331804527, 1331804535, 1331804538, 1331804523, 1331804531, 1331804519)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 104.32222008705139 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-27 00:25:22.699249
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/00/18/image_27012025_00_18_02_661602_0001.jpg', '/home/pi/Desktop/images/27012025/00/18/image_27012025_00_18_02_661602_0002.jpg', '/home/pi/Desktop/images/27012025/00/18/image_27012025_00_18_02_661602_0003.jpg', '/home/pi/Desktop/images/27012025/00/19/image_27012025_00_19_02_858608_0000.jpg', '/home/pi/Desktop/images/27012025/00/19/image_27012025_00_19_02_858608_0001.jpg', '/home/pi/Desktop/images/27012025/00/19/image_27012025_00_19_02_858608_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/00/18/image_27012025_00_18_02_661602_0001.jpg
/home/pi/Desktop/images/27012025/00/18/image_27012025_00_18_02_661602_0002.jpg
/home/pi/Desktop/images/27012025/00/18/image_27012025_00_18_02_661602_0003.jpg
/home/pi/Desktop/images/27012025/00/19/image_27012025_00_19_02_858608_0000.jpg
/home/pi/Desktop/images/27012025/00/19/image_27012025_00_19_02_858608_0001.jpg
/home/pi/Desktop/images/27012025/00/19/image_27012025_00_19_02_858608_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331804892","1331804905","1331804907","1331804897","1331804901","1331804887"],"photo_ids_order":["1331804887","1331804892","1331804897","1331804901","1331804905","1331804907"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/c3db771aa08b5f7f67b2fddac0b019e2.jpg","text":"TemporaryFile(/tmp/multipartBody3700632820606691471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737934049439,"filename":"image_27012025_00_18_02_661602_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/6d0ce427f21d5ba5441a25d86edf29c4.jpg","text":"TemporaryFile(/tmp/multipartBody5395488235367990133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737934049439,"filename":"image_27012025_00_19_02_858608_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/9f4d8f54c8a4f25968c0c1e3fa7d1346.jpg","text":"TemporaryFile(/tmp/multipartBody5808614414728805721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737934049439,"filename":"image_27012025_00_19_02_858608_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/f7cbbed50ab9f293529911e8b4502535.jpg","text":"TemporaryFile(/tmp/multipartBody7951824165159319400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737934049439,"filename":"image_27012025_00_18_02_661602_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/76a609c89a83bf0be83f57ab7d115ee5.jpg","text":"TemporaryFile(/tmp/multipartBody550248274162987145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737934049439,"filename":"image_27012025_00_19_02_858608_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/eb3cf6d7251b28a5ad58febe03b43968.jpg","text":"TemporaryFile(/tmp/multipartBody8190676113190888941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737934049439,"filename":"image_27012025_00_18_02_661602_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331804897","file1":"1331804892","file0":"1331804887","file4":"1331804905","file5":"1331804907","file3":"1331804901"},"map_files_photo_id_array":[{"photo_id":"1331804907","filename":"file5"},{"photo_id":"1331804897","filename":"file2"},{"photo_id":"1331804905","filename":"file4"},{"photo_id":"1331804892","filename":"file1"},{"photo_id":"1331804887","filename":"file0"},{"photo_id":"1331804901","filename":"file3"}],"portfolio_id":19942284,"hashtag_by_photo_ids":[{"1331804892":["hashtag1","hashtag2"]},{"1331804905":["hashtag1","hashtag2"]},{"1331804907":["hashtag1","hashtag2"]},{"1331804897":["hashtag1","hashtag2"]},{"1331804901":["hashtag1","hashtag2"]},{"1331804887":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942284 used, photo_id : ArrayBuffer(1331804892, 1331804905, 1331804907, 1331804897, 1331804901, 1331804887)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 107.39784789085388 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-27 00:27:22.061750
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/00/19/image_27012025_00_19_02_858608_0003.jpg', '/home/pi/Desktop/images/27012025/00/20/image_27012025_00_20_03_007462_0000.jpg', '/home/pi/Desktop/images/27012025/00/20/image_27012025_00_20_03_007462_0001.jpg', '/home/pi/Desktop/images/27012025/00/20/image_27012025_00_20_03_007462_0002.jpg', '/home/pi/Desktop/images/27012025/00/20/image_27012025_00_20_03_007462_0003.jpg', '/home/pi/Desktop/images/27012025/00/21/image_27012025_00_21_02_192392_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/00/19/image_27012025_00_19_02_858608_0003.jpg
/home/pi/Desktop/images/27012025/00/20/image_27012025_00_20_03_007462_0000.jpg
/home/pi/Desktop/images/27012025/00/20/image_27012025_00_20_03_007462_0001.jpg
/home/pi/Desktop/images/27012025/00/20/image_27012025_00_20_03_007462_0002.jpg
/home/pi/Desktop/images/27012025/00/20/image_27012025_00_20_03_007462_0003.jpg
/home/pi/Desktop/images/27012025/00/21/image_27012025_00_21_02_192392_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331804956","1331804952","1331804966","1331804948","1331804962","1331804959"],"photo_ids_order":["1331804948","1331804952","1331804956","1331804959","1331804962","1331804966"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/f1f9b4688f545f6ec647ec13319982a0.jpg","text":"TemporaryFile(/tmp/multipartBody6428076538755695533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737934168547,"filename":"image_27012025_00_20_03_007462_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/09363c186c60e6f22f01be84c92e57f1.jpg","text":"TemporaryFile(/tmp/multipartBody2656203955141013591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737934168547,"filename":"image_27012025_00_20_03_007462_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/0631d2bd1381f367951da1af42a95cc8.jpg","text":"TemporaryFile(/tmp/multipartBody4114848337430069940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737934168547,"filename":"image_27012025_00_21_02_192392_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/eb55379af164686310a5b84fed4f5439.jpg","text":"TemporaryFile(/tmp/multipartBody5814397845760319185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737934168547,"filename":"image_27012025_00_19_02_858608_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/c5b41521ebc17162384b3a992061fd65.jpg","text":"TemporaryFile(/tmp/multipartBody7989711247781384626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737934168547,"filename":"image_27012025_00_20_03_007462_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/55d6dc2ee8b97de8d113067351a2eef8.jpg","text":"TemporaryFile(/tmp/multipartBody1774968376629419506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737934168547,"filename":"image_27012025_00_20_03_007462_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331804956","file1":"1331804952","file0":"1331804948","file4":"1331804962","file5":"1331804966","file3":"1331804959"},"map_files_photo_id_array":[{"photo_id":"1331804966","filename":"file5"},{"photo_id":"1331804956","filename":"file2"},{"photo_id":"1331804962","filename":"file4"},{"photo_id":"1331804952","filename":"file1"},{"photo_id":"1331804948","filename":"file0"},{"photo_id":"1331804959","filename":"file3"}],"portfolio_id":19942284,"hashtag_by_photo_ids":[{"1331804956":["hashtag1","hashtag2"]},{"1331804952":["hashtag1","hashtag2"]},{"1331804966":["hashtag1","hashtag2"]},{"1331804948":["hashtag1","hashtag2"]},{"1331804962":["hashtag1","hashtag2"]},{"1331804959":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942284 used, photo_id : ArrayBuffer(1331804956, 1331804952, 1331804966, 1331804948, 1331804962, 1331804959)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 106.71385884284973 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-27 00:29:22.534396
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/00/21/image_27012025_00_21_02_192392_0001.jpg', '/home/pi/Desktop/images/27012025/00/21/image_27012025_00_21_02_192392_0002.jpg', '/home/pi/Desktop/images/27012025/00/21/image_27012025_00_21_02_192392_0003.jpg', '/home/pi/Desktop/images/27012025/00/22/image_27012025_00_22_02_442261_0000.jpg', '/home/pi/Desktop/images/27012025/00/22/image_27012025_00_22_02_442261_0001.jpg', '/home/pi/Desktop/images/27012025/00/22/image_27012025_00_22_02_442261_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/00/21/image_27012025_00_21_02_192392_0001.jpg
/home/pi/Desktop/images/27012025/00/21/image_27012025_00_21_02_192392_0002.jpg
/home/pi/Desktop/images/27012025/00/21/image_27012025_00_21_02_192392_0003.jpg
/home/pi/Desktop/images/27012025/00/22/image_27012025_00_22_02_442261_0000.jpg
/home/pi/Desktop/images/27012025/00/22/image_27012025_00_22_02_442261_0001.jpg
/home/pi/Desktop/images/27012025/00/22/image_27012025_00_22_02_442261_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331805115","1331805135","1331805138","1331805131","1331805127","1331805112"],"photo_ids_order":["1331805112","1331805115","1331805127","1331805131","1331805135","1331805138"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/a57b974d3521cfb0b5c7efa83fdc584e.jpg","text":"TemporaryFile(/tmp/multipartBody1814957029360584429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737934287479,"filename":"image_27012025_00_21_02_192392_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/12f355f5cc94749352d4095e196aa54f.jpg","text":"TemporaryFile(/tmp/multipartBody2379647462328196434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737934287479,"filename":"image_27012025_00_22_02_442261_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/3b3c190aba74e976b08b30840ea29e95.jpg","text":"TemporaryFile(/tmp/multipartBody4096283061008187887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737934287479,"filename":"image_27012025_00_22_02_442261_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/346ac620f7edc0d24097b2d4ec763038.jpg","text":"TemporaryFile(/tmp/multipartBody1166621500688997867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737934287479,"filename":"image_27012025_00_22_02_442261_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/e3e2adfa99f542859da0f4454fb80656.jpg","text":"TemporaryFile(/tmp/multipartBody1344677685396146622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737934287479,"filename":"image_27012025_00_21_02_192392_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/9ed7ac7a4b3c8e8c5e51085869f95758.jpg","text":"TemporaryFile(/tmp/multipartBody1390048287066883974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737934287479,"filename":"image_27012025_00_21_02_192392_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331805127","file1":"1331805115","file0":"1331805112","file4":"1331805135","file5":"1331805138","file3":"1331805131"},"map_files_photo_id_array":[{"photo_id":"1331805138","filename":"file5"},{"photo_id":"1331805127","filename":"file2"},{"photo_id":"1331805135","filename":"file4"},{"photo_id":"1331805115","filename":"file1"},{"photo_id":"1331805112","filename":"file0"},{"photo_id":"1331805131","filename":"file3"}],"portfolio_id":19942284,"hashtag_by_photo_ids":[{"1331805115":["hashtag1","hashtag2"]},{"1331805135":["hashtag1","hashtag2"]},{"1331805138":["hashtag1","hashtag2"]},{"1331805131":["hashtag1","hashtag2"]},{"1331805127":["hashtag1","hashtag2"]},{"1331805112":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942284 used, photo_id : ArrayBuffer(1331805115, 1331805135, 1331805138, 1331805131, 1331805127, 1331805112)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 104.66253423690796 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-27 00:31:21.796987
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/00/22/image_27012025_00_22_02_442261_0003.jpg', '/home/pi/Desktop/images/27012025/00/23/image_27012025_00_23_02_554127_0000.jpg', '/home/pi/Desktop/images/27012025/00/23/image_27012025_00_23_02_554127_0001.jpg', '/home/pi/Desktop/images/27012025/00/23/image_27012025_00_23_02_554127_0002.jpg', '/home/pi/Desktop/images/27012025/00/23/image_27012025_00_23_02_554127_0003.jpg', '/home/pi/Desktop/images/27012025/00/24/image_27012025_00_24_02_767572_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/00/22/image_27012025_00_22_02_442261_0003.jpg
/home/pi/Desktop/images/27012025/00/23/image_27012025_00_23_02_554127_0000.jpg
/home/pi/Desktop/images/27012025/00/23/image_27012025_00_23_02_554127_0001.jpg
/home/pi/Desktop/images/27012025/00/23/image_27012025_00_23_02_554127_0002.jpg
/home/pi/Desktop/images/27012025/00/23/image_27012025_00_23_02_554127_0003.jpg
/home/pi/Desktop/images/27012025/00/24/image_27012025_00_24_02_767572_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331805207","1331805212","1331805221","1331805215","1331805218","1331805203"],"photo_ids_order":["1331805203","1331805207","1331805212","1331805215","1331805218","1331805221"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/270e102a3c7e67ff7620a6b64623f14e.jpg","text":"TemporaryFile(/tmp/multipartBody5029417111581102812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737934406679,"filename":"image_27012025_00_23_02_554127_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/d526e3271a6c0ff62bbc0a054d7ac19e.jpg","text":"TemporaryFile(/tmp/multipartBody6742859407891072727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737934406679,"filename":"image_27012025_00_23_02_554127_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/e2a726cb5eb83a20566ad14fdf501b98.jpg","text":"TemporaryFile(/tmp/multipartBody822899406480673851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737934406679,"filename":"image_27012025_00_24_02_767572_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/1419820342bde4577caa565c53f58b6b.jpg","text":"TemporaryFile(/tmp/multipartBody6832154715237594883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737934406679,"filename":"image_27012025_00_23_02_554127_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/091f1aab18b167354b08e7916163e5b3.jpg","text":"TemporaryFile(/tmp/multipartBody1878240102141206391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737934406679,"filename":"image_27012025_00_23_02_554127_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/08021233518e2a21dfacdd2b002e361b.jpg","text":"TemporaryFile(/tmp/multipartBody2684978300842767978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737934406679,"filename":"image_27012025_00_22_02_442261_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331805212","file1":"1331805207","file0":"1331805203","file4":"1331805218","file5":"1331805221","file3":"1331805215"},"map_files_photo_id_array":[{"photo_id":"1331805221","filename":"file5"},{"photo_id":"1331805212","filename":"file2"},{"photo_id":"1331805218","filename":"file4"},{"photo_id":"1331805207","filename":"file1"},{"photo_id":"1331805203","filename":"file0"},{"photo_id":"1331805215","filename":"file3"}],"portfolio_id":19942284,"hashtag_by_photo_ids":[{"1331805207":["hashtag1","hashtag2"]},{"1331805212":["hashtag1","hashtag2"]},{"1331805221":["hashtag1","hashtag2"]},{"1331805215":["hashtag1","hashtag2"]},{"1331805218":["hashtag1","hashtag2"]},{"1331805203":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942284 used, photo_id : ArrayBuffer(1331805207, 1331805212, 1331805221, 1331805215, 1331805218, 1331805203)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 105.24558115005493 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-27 00:33:22.198882
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/00/24/image_27012025_00_24_02_767572_0001.jpg', '/home/pi/Desktop/images/27012025/00/24/image_27012025_00_24_02_767572_0002.jpg', '/home/pi/Desktop/images/27012025/00/24/image_27012025_00_24_02_767572_0003.jpg', '/home/pi/Desktop/images/27012025/00/25/image_27012025_00_25_02_886713_0000.jpg', '/home/pi/Desktop/images/27012025/00/25/image_27012025_00_25_02_886713_0001.jpg', '/home/pi/Desktop/images/27012025/00/25/image_27012025_00_25_02_886713_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/00/24/image_27012025_00_24_02_767572_0001.jpg
/home/pi/Desktop/images/27012025/00/24/image_27012025_00_24_02_767572_0002.jpg
/home/pi/Desktop/images/27012025/00/24/image_27012025_00_24_02_767572_0003.jpg
/home/pi/Desktop/images/27012025/00/25/image_27012025_00_25_02_886713_0000.jpg
/home/pi/Desktop/images/27012025/00/25/image_27012025_00_25_02_886713_0001.jpg
/home/pi/Desktop/images/27012025/00/25/image_27012025_00_25_02_886713_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331805384","1331805680","1331805284","1331805677","1331805292","1331805289"],"photo_ids_order":["1331805284","1331805289","1331805292","1331805384","1331805677","1331805680"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/bd6afaf3e3eea7a5ca8584da8f7be50c.jpg","text":"TemporaryFile(/tmp/multipartBody7280788975666819751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737934529169,"filename":"image_27012025_00_25_02_886713_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/5c112d4454ab192f6447de5c46b8b0cc.jpg","text":"TemporaryFile(/tmp/multipartBody636391902268080702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737934529169,"filename":"image_27012025_00_25_02_886713_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/31508e8b5f681f2f8fbea41e256d69e6.jpg","text":"TemporaryFile(/tmp/multipartBody1640553849723868668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737934529169,"filename":"image_27012025_00_24_02_767572_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/56ebddb602c13a1a19708c1f2e8495d9.jpg","text":"TemporaryFile(/tmp/multipartBody1910883736001006006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737934529169,"filename":"image_27012025_00_25_02_886713_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/b76fb1268baf54709ba961e3daeaa11a.jpg","text":"TemporaryFile(/tmp/multipartBody8527008006285194736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737934529169,"filename":"image_27012025_00_24_02_767572_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/69326d0c47100cfc6e6e15fca2a88e2d.jpg","text":"TemporaryFile(/tmp/multipartBody5271613733519026975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737934529169,"filename":"image_27012025_00_24_02_767572_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331805292","file1":"1331805289","file0":"1331805284","file4":"1331805677","file5":"1331805680","file3":"1331805384"},"map_files_photo_id_array":[{"photo_id":"1331805680","filename":"file5"},{"photo_id":"1331805292","filename":"file2"},{"photo_id":"1331805677","filename":"file4"},{"photo_id":"1331805289","filename":"file1"},{"photo_id":"1331805284","filename":"file0"},{"photo_id":"1331805384","filename":"file3"}],"portfolio_id":19942284,"hashtag_by_photo_ids":[{"1331805384":["hashtag1","hashtag2"]},{"1331805680":["hashtag1","hashtag2"]},{"1331805284":["hashtag1","hashtag2"]},{"1331805677":["hashtag1","hashtag2"]},{"1331805292":["hashtag1","hashtag2"]},{"1331805289":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942284 used, photo_id : ArrayBuffer(1331805384, 1331805680, 1331805284, 1331805677, 1331805292, 1331805289)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 107.44087409973145 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-27 00:35:22.550254
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/00/25/image_27012025_00_25_02_886713_0003.jpg', '/home/pi/Desktop/images/27012025/00/26/image_27012025_00_26_03_186786_0000.jpg', '/home/pi/Desktop/images/27012025/00/26/image_27012025_00_26_03_186786_0001.jpg', '/home/pi/Desktop/images/27012025/00/26/image_27012025_00_26_03_186786_0002.jpg', '/home/pi/Desktop/images/27012025/00/26/image_27012025_00_26_03_186786_0003.jpg', '/home/pi/Desktop/images/27012025/00/27/image_27012025_00_27_02_358104_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/00/25/image_27012025_00_25_02_886713_0003.jpg
/home/pi/Desktop/images/27012025/00/26/image_27012025_00_26_03_186786_0000.jpg
/home/pi/Desktop/images/27012025/00/26/image_27012025_00_26_03_186786_0001.jpg
/home/pi/Desktop/images/27012025/00/26/image_27012025_00_26_03_186786_0002.jpg
/home/pi/Desktop/images/27012025/00/26/image_27012025_00_26_03_186786_0003.jpg
/home/pi/Desktop/images/27012025/00/27/image_27012025_00_27_02_358104_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331806094","1331806088","1331806091","1331806100","1331806096","1331806102"],"photo_ids_order":["1331806088","1331806091","1331806094","1331806096","1331806100","1331806102"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/9c857f1b86092663d5be8ab1bf693787.jpg","text":"TemporaryFile(/tmp/multipartBody7672274695099803683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737934647733,"filename":"image_27012025_00_26_03_186786_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/942e32344cfae172579b83598ca85da8.jpg","text":"TemporaryFile(/tmp/multipartBody1083020893583731629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737934647733,"filename":"image_27012025_00_25_02_886713_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/c9b81780e5407c6262d90321919e96cd.jpg","text":"TemporaryFile(/tmp/multipartBody2131557111668604341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737934647733,"filename":"image_27012025_00_26_03_186786_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/253a6e9162f55a51b6ad1ac5aa1704aa.jpg","text":"TemporaryFile(/tmp/multipartBody2976788156575870784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737934647733,"filename":"image_27012025_00_26_03_186786_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/782644605471ccb6e2c168f706c28797.jpg","text":"TemporaryFile(/tmp/multipartBody27523306226857844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737934647733,"filename":"image_27012025_00_26_03_186786_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/08c73db8a82b70095d33a058d000fdb0.jpg","text":"TemporaryFile(/tmp/multipartBody4293483998209086226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737934647733,"filename":"image_27012025_00_27_02_358104_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331806094","file1":"1331806091","file0":"1331806088","file4":"1331806100","file5":"1331806102","file3":"1331806096"},"map_files_photo_id_array":[{"photo_id":"1331806102","filename":"file5"},{"photo_id":"1331806094","filename":"file2"},{"photo_id":"1331806100","filename":"file4"},{"photo_id":"1331806091","filename":"file1"},{"photo_id":"1331806088","filename":"file0"},{"photo_id":"1331806096","filename":"file3"}],"portfolio_id":19942284,"hashtag_by_photo_ids":[{"1331806094":["hashtag1","hashtag2"]},{"1331806088":["hashtag1","hashtag2"]},{"1331806091":["hashtag1","hashtag2"]},{"1331806100":["hashtag1","hashtag2"]},{"1331806096":["hashtag1","hashtag2"]},{"1331806102":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942284 used, photo_id : ArrayBuffer(1331806094, 1331806088, 1331806091, 1331806100, 1331806096, 1331806102)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 107.15800499916077 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-27 00:37:22.051738
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/00/27/image_27012025_00_27_02_358104_0001.jpg', '/home/pi/Desktop/images/27012025/00/27/image_27012025_00_27_02_358104_0002.jpg', '/home/pi/Desktop/images/27012025/00/27/image_27012025_00_27_02_358104_0003.jpg', '/home/pi/Desktop/images/27012025/00/28/image_27012025_00_28_02_444607_0000.jpg', '/home/pi/Desktop/images/27012025/00/28/image_27012025_00_28_02_444607_0001.jpg', '/home/pi/Desktop/images/27012025/00/28/image_27012025_00_28_02_444607_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/00/27/image_27012025_00_27_02_358104_0001.jpg
/home/pi/Desktop/images/27012025/00/27/image_27012025_00_27_02_358104_0002.jpg
/home/pi/Desktop/images/27012025/00/27/image_27012025_00_27_02_358104_0003.jpg
/home/pi/Desktop/images/27012025/00/28/image_27012025_00_28_02_444607_0000.jpg
/home/pi/Desktop/images/27012025/00/28/image_27012025_00_28_02_444607_0001.jpg
/home/pi/Desktop/images/27012025/00/28/image_27012025_00_28_02_444607_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331806187","1331806178","1331806192","1331806189","1331806182","1331806185"],"photo_ids_order":["1331806178","1331806182","1331806185","1331806187","1331806189","1331806192"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/626396704a41d616e4c0ec1121cbbd11.jpg","text":"TemporaryFile(/tmp/multipartBody6429057797346095277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737934767482,"filename":"image_27012025_00_28_02_444607_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/60433e78f6d503f6da0b3aa83b6983d9.jpg","text":"TemporaryFile(/tmp/multipartBody3550927033588422075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737934767482,"filename":"image_27012025_00_27_02_358104_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/ee7090ebc117a4e15a0076eca52ae17a.jpg","text":"TemporaryFile(/tmp/multipartBody462462390551256235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737934767482,"filename":"image_27012025_00_28_02_444607_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/b9095c9bd32e64f0740797835b51eee7.jpg","text":"TemporaryFile(/tmp/multipartBody5964944560848380382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737934767482,"filename":"image_27012025_00_28_02_444607_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/e02527b4002a9e8fec988e504c7523b2.jpg","text":"TemporaryFile(/tmp/multipartBody3955208838228960288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737934767482,"filename":"image_27012025_00_27_02_358104_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/cef53136e75a8ea2fe2b280f1887e5a1.jpg","text":"TemporaryFile(/tmp/multipartBody4971585234659829146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737934767482,"filename":"image_27012025_00_27_02_358104_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331806185","file1":"1331806182","file0":"1331806178","file4":"1331806189","file5":"1331806192","file3":"1331806187"},"map_files_photo_id_array":[{"photo_id":"1331806192","filename":"file5"},{"photo_id":"1331806185","filename":"file2"},{"photo_id":"1331806189","filename":"file4"},{"photo_id":"1331806182","filename":"file1"},{"photo_id":"1331806178","filename":"file0"},{"photo_id":"1331806187","filename":"file3"}],"portfolio_id":19942284,"hashtag_by_photo_ids":[{"1331806187":["hashtag1","hashtag2"]},{"1331806178":["hashtag1","hashtag2"]},{"1331806192":["hashtag1","hashtag2"]},{"1331806189":["hashtag1","hashtag2"]},{"1331806182":["hashtag1","hashtag2"]},{"1331806185":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942284 used, photo_id : ArrayBuffer(1331806187, 1331806178, 1331806192, 1331806189, 1331806182, 1331806185)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 108.13519287109375 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-27 00:39:22.347200
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/00/28/image_27012025_00_28_02_444607_0003.jpg', '/home/pi/Desktop/images/27012025/00/29/image_27012025_00_29_02_606126_0000.jpg', '/home/pi/Desktop/images/27012025/00/29/image_27012025_00_29_02_606126_0001.jpg', '/home/pi/Desktop/images/27012025/00/29/image_27012025_00_29_02_606126_0002.jpg', '/home/pi/Desktop/images/27012025/00/29/image_27012025_00_29_02_606126_0003.jpg', '/home/pi/Desktop/images/27012025/00/30/image_27012025_00_30_02_903529_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/00/28/image_27012025_00_28_02_444607_0003.jpg
/home/pi/Desktop/images/27012025/00/29/image_27012025_00_29_02_606126_0000.jpg
/home/pi/Desktop/images/27012025/00/29/image_27012025_00_29_02_606126_0001.jpg
/home/pi/Desktop/images/27012025/00/29/image_27012025_00_29_02_606126_0002.jpg
/home/pi/Desktop/images/27012025/00/29/image_27012025_00_29_02_606126_0003.jpg
/home/pi/Desktop/images/27012025/00/30/image_27012025_00_30_02_903529_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331806422","1331806270","1331806345","1331806273","1331806276","1331806408"],"photo_ids_order":["1331806270","1331806273","1331806276","1331806345","1331806408","1331806422"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/6ae5b060ce0493b691030eaf18312bcf.jpg","text":"TemporaryFile(/tmp/multipartBody2183117375127604386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737934888191,"filename":"image_27012025_00_30_02_903529_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/a8ab3d09947253a01ce857b33ac03c56.jpg","text":"TemporaryFile(/tmp/multipartBody8198421409085720378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737934888191,"filename":"image_27012025_00_28_02_444607_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/176a35d8a62479d2a3f0ca0514c0bb17.jpg","text":"TemporaryFile(/tmp/multipartBody2558943817113289100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737934888191,"filename":"image_27012025_00_29_02_606126_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/65fe75cda5c153bc77297f6aa744c34e.jpg","text":"TemporaryFile(/tmp/multipartBody7396401345725185200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737934888191,"filename":"image_27012025_00_29_02_606126_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/23b3d043964eda79896a5c2f69d13049.jpg","text":"TemporaryFile(/tmp/multipartBody8998972226928315134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737934888191,"filename":"image_27012025_00_29_02_606126_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/6f584f106970e0640cb41a1546885467.jpg","text":"TemporaryFile(/tmp/multipartBody7099257204792321413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737934888191,"filename":"image_27012025_00_29_02_606126_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331806276","file1":"1331806273","file0":"1331806270","file4":"1331806408","file5":"1331806422","file3":"1331806345"},"map_files_photo_id_array":[{"photo_id":"1331806422","filename":"file5"},{"photo_id":"1331806276","filename":"file2"},{"photo_id":"1331806408","filename":"file4"},{"photo_id":"1331806273","filename":"file1"},{"photo_id":"1331806270","filename":"file0"},{"photo_id":"1331806345","filename":"file3"}],"portfolio_id":19942284,"hashtag_by_photo_ids":[{"1331806422":["hashtag1","hashtag2"]},{"1331806270":["hashtag1","hashtag2"]},{"1331806345":["hashtag1","hashtag2"]},{"1331806273":["hashtag1","hashtag2"]},{"1331806276":["hashtag1","hashtag2"]},{"1331806408":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942284 used, photo_id : ArrayBuffer(1331806422, 1331806270, 1331806345, 1331806273, 1331806276, 1331806408)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 108.52114701271057 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-27 00:41:22.708420
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/00/30/image_27012025_00_30_02_903529_0001.jpg', '/home/pi/Desktop/images/27012025/00/30/image_27012025_00_30_02_903529_0002.jpg', '/home/pi/Desktop/images/27012025/00/30/image_27012025_00_30_02_903529_0003.jpg', '/home/pi/Desktop/images/27012025/00/31/image_27012025_00_31_03_117804_0000.jpg', '/home/pi/Desktop/images/27012025/00/31/image_27012025_00_31_03_117804_0001.jpg', '/home/pi/Desktop/images/27012025/00/31/image_27012025_00_31_03_117804_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/00/30/image_27012025_00_30_02_903529_0001.jpg
/home/pi/Desktop/images/27012025/00/30/image_27012025_00_30_02_903529_0002.jpg
/home/pi/Desktop/images/27012025/00/30/image_27012025_00_30_02_903529_0003.jpg
/home/pi/Desktop/images/27012025/00/31/image_27012025_00_31_03_117804_0000.jpg
/home/pi/Desktop/images/27012025/00/31/image_27012025_00_31_03_117804_0001.jpg
/home/pi/Desktop/images/27012025/00/31/image_27012025_00_31_03_117804_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331806838","1331806463","1331806576","1331806864","1331806857","1331806845"],"photo_ids_order":["1331806463","1331806576","1331806838","1331806845","1331806857","1331806864"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/c9db9945ddd8187bed1db4fe545c87f7.jpg","text":"TemporaryFile(/tmp/multipartBody4368003338030301160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737935008273,"filename":"image_27012025_00_30_02_903529_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/4e0114b940b6fbe8b7048a007bdbed84.jpg","text":"TemporaryFile(/tmp/multipartBody6491799749182674438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737935008273,"filename":"image_27012025_00_30_02_903529_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/25c33be6f03c1764b19510c1d859ba55.jpg","text":"TemporaryFile(/tmp/multipartBody4196634120562056206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737935008273,"filename":"image_27012025_00_30_02_903529_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/30b19b67c9b4b08c1a18ec1e075121d8.jpg","text":"TemporaryFile(/tmp/multipartBody8976031904726569434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737935008273,"filename":"image_27012025_00_31_03_117804_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/bcf6a77b681ddcb7bca57d76dfd60055.jpg","text":"TemporaryFile(/tmp/multipartBody878079639193298201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737935008273,"filename":"image_27012025_00_31_03_117804_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/3be490e80dd227d1376a72182eff3e7e.jpg","text":"TemporaryFile(/tmp/multipartBody1550093594718869907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737935008273,"filename":"image_27012025_00_31_03_117804_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331806838","file1":"1331806576","file0":"1331806463","file4":"1331806857","file5":"1331806864","file3":"1331806845"},"map_files_photo_id_array":[{"photo_id":"1331806864","filename":"file5"},{"photo_id":"1331806838","filename":"file2"},{"photo_id":"1331806857","filename":"file4"},{"photo_id":"1331806576","filename":"file1"},{"photo_id":"1331806463","filename":"file0"},{"photo_id":"1331806845","filename":"file3"}],"portfolio_id":19942284,"hashtag_by_photo_ids":[{"1331806838":["hashtag1","hashtag2"]},{"1331806463":["hashtag1","hashtag2"]},{"1331806576":["hashtag1","hashtag2"]},{"1331806864":["hashtag1","hashtag2"]},{"1331806857":["hashtag1","hashtag2"]},{"1331806845":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942284 used, photo_id : ArrayBuffer(1331806838, 1331806463, 1331806576, 1331806864, 1331806857, 1331806845)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 105.20786690711975 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-27 00:43:22.077870
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/00/31/image_27012025_00_31_03_117804_0003.jpg', '/home/pi/Desktop/images/27012025/00/32/image_27012025_00_32_02_195660_0000.jpg', '/home/pi/Desktop/images/27012025/00/32/image_27012025_00_32_02_195660_0001.jpg', '/home/pi/Desktop/images/27012025/00/32/image_27012025_00_32_02_195660_0002.jpg', '/home/pi/Desktop/images/27012025/00/32/image_27012025_00_32_02_195660_0003.jpg', '/home/pi/Desktop/images/27012025/00/33/image_27012025_00_33_02_386115_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/00/31/image_27012025_00_31_03_117804_0003.jpg
/home/pi/Desktop/images/27012025/00/32/image_27012025_00_32_02_195660_0000.jpg
/home/pi/Desktop/images/27012025/00/32/image_27012025_00_32_02_195660_0001.jpg
/home/pi/Desktop/images/27012025/00/32/image_27012025_00_32_02_195660_0002.jpg
/home/pi/Desktop/images/27012025/00/32/image_27012025_00_32_02_195660_0003.jpg
/home/pi/Desktop/images/27012025/00/33/image_27012025_00_33_02_386115_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331807229","1331807234","1331807237","1331807231","1331807236","1331807235"],"photo_ids_order":["1331807229","1331807231","1331807234","1331807235","1331807236","1331807237"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/87d2d8242b6e9b86e429609bb3a14104.jpg","text":"TemporaryFile(/tmp/multipartBody6110186619498772410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737935124527,"filename":"image_27012025_00_31_03_117804_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/f304092b9616a392736a24e881e5fd63.jpg","text":"TemporaryFile(/tmp/multipartBody8338388923226858217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737935124527,"filename":"image_27012025_00_32_02_195660_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/f8fb248e9f327a30c4b2f4e7e59e6851.jpg","text":"TemporaryFile(/tmp/multipartBody6359770085684114420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737935124527,"filename":"image_27012025_00_33_02_386115_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/32d8bd3357786d1cf3c151811088681d.jpg","text":"TemporaryFile(/tmp/multipartBody2816952479584995169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737935124527,"filename":"image_27012025_00_32_02_195660_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/43d50035b92c9d89dd3ccc7e8901a858.jpg","text":"TemporaryFile(/tmp/multipartBody4216682831912604267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737935124527,"filename":"image_27012025_00_32_02_195660_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/843c245017fb76ea93b70b15beb87e78.jpg","text":"TemporaryFile(/tmp/multipartBody7387122893186185933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737935124527,"filename":"image_27012025_00_32_02_195660_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331807234","file1":"1331807231","file0":"1331807229","file4":"1331807236","file5":"1331807237","file3":"1331807235"},"map_files_photo_id_array":[{"photo_id":"1331807237","filename":"file5"},{"photo_id":"1331807234","filename":"file2"},{"photo_id":"1331807236","filename":"file4"},{"photo_id":"1331807231","filename":"file1"},{"photo_id":"1331807229","filename":"file0"},{"photo_id":"1331807235","filename":"file3"}],"portfolio_id":19942284,"hashtag_by_photo_ids":[{"1331807229":["hashtag1","hashtag2"]},{"1331807234":["hashtag1","hashtag2"]},{"1331807237":["hashtag1","hashtag2"]},{"1331807231":["hashtag1","hashtag2"]},{"1331807236":["hashtag1","hashtag2"]},{"1331807235":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942284 used, photo_id : ArrayBuffer(1331807229, 1331807234, 1331807237, 1331807231, 1331807236, 1331807235)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 104.32905530929565 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-27 00:45:22.456855
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/00/33/image_27012025_00_33_02_386115_0001.jpg', '/home/pi/Desktop/images/27012025/00/33/image_27012025_00_33_02_386115_0002.jpg', '/home/pi/Desktop/images/27012025/00/33/image_27012025_00_33_02_386115_0003.jpg', '/home/pi/Desktop/images/27012025/00/34/image_27012025_00_34_02_595544_0000.jpg', '/home/pi/Desktop/images/27012025/00/34/image_27012025_00_34_02_595544_0001.jpg', '/home/pi/Desktop/images/27012025/00/34/image_27012025_00_34_02_595544_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/00/33/image_27012025_00_33_02_386115_0001.jpg
/home/pi/Desktop/images/27012025/00/33/image_27012025_00_33_02_386115_0002.jpg
/home/pi/Desktop/images/27012025/00/33/image_27012025_00_33_02_386115_0003.jpg
/home/pi/Desktop/images/27012025/00/34/image_27012025_00_34_02_595544_0000.jpg
/home/pi/Desktop/images/27012025/00/34/image_27012025_00_34_02_595544_0001.jpg
/home/pi/Desktop/images/27012025/00/34/image_27012025_00_34_02_595544_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331807594","1331807596","1331807716","1331807644","1331807595","1331807591"],"photo_ids_order":["1331807591","1331807594","1331807595","1331807596","1331807644","1331807716"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/9d96c106783256bf164bb1e99d1c218b.jpg","text":"TemporaryFile(/tmp/multipartBody7367257710366609352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737935247004,"filename":"image_27012025_00_33_02_386115_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/0537df01722c6f7f347108a6af73af00.jpg","text":"TemporaryFile(/tmp/multipartBody4129517422360883383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737935247004,"filename":"image_27012025_00_34_02_595544_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/d9ff8936f3f8f4211d36f83da2e74df6.jpg","text":"TemporaryFile(/tmp/multipartBody8968576307992635619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737935247004,"filename":"image_27012025_00_34_02_595544_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/6972097b0b5a44b7db7e27c57d89b4b7.jpg","text":"TemporaryFile(/tmp/multipartBody5057060411131550644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737935247004,"filename":"image_27012025_00_34_02_595544_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/01ca30dc6103e42e74c0d0d9f5dbba36.jpg","text":"TemporaryFile(/tmp/multipartBody6058470786698645123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737935247004,"filename":"image_27012025_00_33_02_386115_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/19a654a49289b1ef3207490dba3e7bdb.jpg","text":"TemporaryFile(/tmp/multipartBody5231862698931083437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737935247004,"filename":"image_27012025_00_33_02_386115_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331807595","file1":"1331807594","file0":"1331807591","file4":"1331807644","file5":"1331807716","file3":"1331807596"},"map_files_photo_id_array":[{"photo_id":"1331807716","filename":"file5"},{"photo_id":"1331807595","filename":"file2"},{"photo_id":"1331807644","filename":"file4"},{"photo_id":"1331807594","filename":"file1"},{"photo_id":"1331807591","filename":"file0"},{"photo_id":"1331807596","filename":"file3"}],"portfolio_id":19942284,"hashtag_by_photo_ids":[{"1331807594":["hashtag1","hashtag2"]},{"1331807596":["hashtag1","hashtag2"]},{"1331807716":["hashtag1","hashtag2"]},{"1331807644":["hashtag1","hashtag2"]},{"1331807595":["hashtag1","hashtag2"]},{"1331807591":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942284 used, photo_id : ArrayBuffer(1331807594, 1331807596, 1331807716, 1331807644, 1331807595, 1331807591)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 107.24711060523987 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-27 00:47:21.710249
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/00/34/image_27012025_00_34_02_595544_0003.jpg', '/home/pi/Desktop/images/27012025/00/35/image_27012025_00_35_02_755673_0000.jpg', '/home/pi/Desktop/images/27012025/00/35/image_27012025_00_35_02_755673_0001.jpg', '/home/pi/Desktop/images/27012025/00/35/image_27012025_00_35_02_755673_0002.jpg', '/home/pi/Desktop/images/27012025/00/35/image_27012025_00_35_02_755673_0003.jpg', '/home/pi/Desktop/images/27012025/00/36/image_27012025_00_36_02_957127_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/00/34/image_27012025_00_34_02_595544_0003.jpg
/home/pi/Desktop/images/27012025/00/35/image_27012025_00_35_02_755673_0000.jpg
/home/pi/Desktop/images/27012025/00/35/image_27012025_00_35_02_755673_0001.jpg
/home/pi/Desktop/images/27012025/00/35/image_27012025_00_35_02_755673_0002.jpg
/home/pi/Desktop/images/27012025/00/35/image_27012025_00_35_02_755673_0003.jpg
/home/pi/Desktop/images/27012025/00/36/image_27012025_00_36_02_957127_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331807881","1331807998","1331807976","1331807955","1331807883","1331807877"],"photo_ids_order":["1331807877","1331807881","1331807883","1331807955","1331807976","1331807998"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/8c310d0a443133603c6320ef622dd9ac.jpg","text":"TemporaryFile(/tmp/multipartBody1225390926248431848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737935365483,"filename":"image_27012025_00_35_02_755673_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/dbbd4820f4e84529ec90813edb006789.jpg","text":"TemporaryFile(/tmp/multipartBody4344161520625554671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737935365483,"filename":"image_27012025_00_36_02_957127_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/cf3e9d1c76f13a9ec920d6ac0d80fa42.jpg","text":"TemporaryFile(/tmp/multipartBody6185077771949007366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737935365483,"filename":"image_27012025_00_35_02_755673_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/20adfe499dae3173d5e03b0cbaa2b5b1.jpg","text":"TemporaryFile(/tmp/multipartBody702708287454237107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737935365483,"filename":"image_27012025_00_35_02_755673_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/915ec6b81f3442288007ae33a0533aef.jpg","text":"TemporaryFile(/tmp/multipartBody5673926679451674771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737935365483,"filename":"image_27012025_00_35_02_755673_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/4254bb26120a7d6902736509b84b626e.jpg","text":"TemporaryFile(/tmp/multipartBody3951671291414184436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737935365483,"filename":"image_27012025_00_34_02_595544_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331807883","file1":"1331807881","file0":"1331807877","file4":"1331807976","file5":"1331807998","file3":"1331807955"},"map_files_photo_id_array":[{"photo_id":"1331807998","filename":"file5"},{"photo_id":"1331807883","filename":"file2"},{"photo_id":"1331807976","filename":"file4"},{"photo_id":"1331807881","filename":"file1"},{"photo_id":"1331807877","filename":"file0"},{"photo_id":"1331807955","filename":"file3"}],"portfolio_id":19942284,"hashtag_by_photo_ids":[{"1331807881":["hashtag1","hashtag2"]},{"1331807998":["hashtag1","hashtag2"]},{"1331807976":["hashtag1","hashtag2"]},{"1331807955":["hashtag1","hashtag2"]},{"1331807883":["hashtag1","hashtag2"]},{"1331807877":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942284 used, photo_id : ArrayBuffer(1331807881, 1331807998, 1331807976, 1331807955, 1331807883, 1331807877)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 102.5984296798706 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-27 00:49:22.170771
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/00/36/image_27012025_00_36_02_957127_0001.jpg', '/home/pi/Desktop/images/27012025/00/36/image_27012025_00_36_02_957127_0002.jpg', '/home/pi/Desktop/images/27012025/00/36/image_27012025_00_36_02_957127_0003.jpg', '/home/pi/Desktop/images/27012025/00/37/image_27012025_00_37_02_231958_0000.jpg', '/home/pi/Desktop/images/27012025/00/37/image_27012025_00_37_02_231958_0001.jpg', '/home/pi/Desktop/images/27012025/00/37/image_27012025_00_37_02_231958_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/00/36/image_27012025_00_36_02_957127_0001.jpg
/home/pi/Desktop/images/27012025/00/36/image_27012025_00_36_02_957127_0002.jpg
/home/pi/Desktop/images/27012025/00/36/image_27012025_00_36_02_957127_0003.jpg
/home/pi/Desktop/images/27012025/00/37/image_27012025_00_37_02_231958_0000.jpg
/home/pi/Desktop/images/27012025/00/37/image_27012025_00_37_02_231958_0001.jpg
/home/pi/Desktop/images/27012025/00/37/image_27012025_00_37_02_231958_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331808101","1331808106","1331808099","1331808103","1331808111","1331808108"],"photo_ids_order":["1331808099","1331808101","1331808103","1331808106","1331808108","1331808111"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/81142ccb1c897ef5345101ca91c5d0b7.jpg","text":"TemporaryFile(/tmp/multipartBody7657476838606969688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737935485823,"filename":"image_27012025_00_36_02_957127_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/98016783af792f8dd1454a21a45d6eae.jpg","text":"TemporaryFile(/tmp/multipartBody7975328419283239394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737935485823,"filename":"image_27012025_00_37_02_231958_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/32a67f71e323ce70873145a23461d1a2.jpg","text":"TemporaryFile(/tmp/multipartBody3651580745318872834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737935485823,"filename":"image_27012025_00_36_02_957127_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/fe040034d92df98c10a0e1324da500f7.jpg","text":"TemporaryFile(/tmp/multipartBody7899039013817425860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737935485823,"filename":"image_27012025_00_36_02_957127_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/e3a81b3d8da6369980eb346749a09ab7.jpg","text":"TemporaryFile(/tmp/multipartBody542587113955591271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737935485823,"filename":"image_27012025_00_37_02_231958_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/ce942594eec7c836f85bd5a0bf49191c.jpg","text":"TemporaryFile(/tmp/multipartBody2702107507468645096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737935485823,"filename":"image_27012025_00_37_02_231958_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331808103","file1":"1331808101","file0":"1331808099","file4":"1331808108","file5":"1331808111","file3":"1331808106"},"map_files_photo_id_array":[{"photo_id":"1331808111","filename":"file5"},{"photo_id":"1331808103","filename":"file2"},{"photo_id":"1331808108","filename":"file4"},{"photo_id":"1331808101","filename":"file1"},{"photo_id":"1331808099","filename":"file0"},{"photo_id":"1331808106","filename":"file3"}],"portfolio_id":19942284,"hashtag_by_photo_ids":[{"1331808101":["hashtag1","hashtag2"]},{"1331808106":["hashtag1","hashtag2"]},{"1331808099":["hashtag1","hashtag2"]},{"1331808103":["hashtag1","hashtag2"]},{"1331808111":["hashtag1","hashtag2"]},{"1331808108":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942284 used, photo_id : ArrayBuffer(1331808101, 1331808106, 1331808099, 1331808103, 1331808111, 1331808108)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 103.57419323921204 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-27 00:51:22.495361
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/00/37/image_27012025_00_37_02_231958_0003.jpg', '/home/pi/Desktop/images/27012025/00/38/image_27012025_00_38_02_402726_0000.jpg', '/home/pi/Desktop/images/27012025/00/38/image_27012025_00_38_02_402726_0001.jpg', '/home/pi/Desktop/images/27012025/00/38/image_27012025_00_38_02_402726_0002.jpg', '/home/pi/Desktop/images/27012025/00/38/image_27012025_00_38_02_402726_0003.jpg', '/home/pi/Desktop/images/27012025/00/39/image_27012025_00_39_02_571247_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/00/37/image_27012025_00_37_02_231958_0003.jpg
/home/pi/Desktop/images/27012025/00/38/image_27012025_00_38_02_402726_0000.jpg
/home/pi/Desktop/images/27012025/00/38/image_27012025_00_38_02_402726_0001.jpg
/home/pi/Desktop/images/27012025/00/38/image_27012025_00_38_02_402726_0002.jpg
/home/pi/Desktop/images/27012025/00/38/image_27012025_00_38_02_402726_0003.jpg
/home/pi/Desktop/images/27012025/00/39/image_27012025_00_39_02_571247_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331808469","1331808474","1331808462","1331808471","1331808465","1331808467"],"photo_ids_order":["1331808462","1331808465","1331808467","1331808469","1331808471","1331808474"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/962480be4ace2450988280ee813beb59.jpg","text":"TemporaryFile(/tmp/multipartBody8225291267088687786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737935606876,"filename":"image_27012025_00_38_02_402726_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/6d8f6b83e428409911cba444c2931f18.jpg","text":"TemporaryFile(/tmp/multipartBody6821482087340870676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737935606876,"filename":"image_27012025_00_39_02_571247_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/e4784269493813a716c02d5594cf36fe.jpg","text":"TemporaryFile(/tmp/multipartBody7926286300266807355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737935606876,"filename":"image_27012025_00_37_02_231958_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/73e243be93c157ab0bf922c000b78dab.jpg","text":"TemporaryFile(/tmp/multipartBody3499877480654736402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737935606876,"filename":"image_27012025_00_38_02_402726_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/46d0175c1bb2c36b7c23ef564f6d8780.jpg","text":"TemporaryFile(/tmp/multipartBody2228857945847303140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737935606876,"filename":"image_27012025_00_38_02_402726_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/c06120860d0565b68aa26e65f6f49c08.jpg","text":"TemporaryFile(/tmp/multipartBody9145111325494073222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737935606876,"filename":"image_27012025_00_38_02_402726_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331808467","file1":"1331808465","file0":"1331808462","file4":"1331808471","file5":"1331808474","file3":"1331808469"},"map_files_photo_id_array":[{"photo_id":"1331808474","filename":"file5"},{"photo_id":"1331808467","filename":"file2"},{"photo_id":"1331808471","filename":"file4"},{"photo_id":"1331808465","filename":"file1"},{"photo_id":"1331808462","filename":"file0"},{"photo_id":"1331808469","filename":"file3"}],"portfolio_id":19942284,"hashtag_by_photo_ids":[{"1331808469":["hashtag1","hashtag2"]},{"1331808474":["hashtag1","hashtag2"]},{"1331808462":["hashtag1","hashtag2"]},{"1331808471":["hashtag1","hashtag2"]},{"1331808465":["hashtag1","hashtag2"]},{"1331808467":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942284 used, photo_id : ArrayBuffer(1331808469, 1331808474, 1331808462, 1331808471, 1331808465, 1331808467)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 103.52621078491211 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-27 00:53:21.802640
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/00/39/image_27012025_00_39_02_571247_0001.jpg', '/home/pi/Desktop/images/27012025/00/39/image_27012025_00_39_02_571247_0002.jpg', '/home/pi/Desktop/images/27012025/00/39/image_27012025_00_39_02_571247_0003.jpg', '/home/pi/Desktop/images/27012025/00/40/image_27012025_00_40_02_689894_0000.jpg', '/home/pi/Desktop/images/27012025/00/40/image_27012025_00_40_02_689894_0001.jpg', '/home/pi/Desktop/images/27012025/00/40/image_27012025_00_40_02_689894_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/00/39/image_27012025_00_39_02_571247_0001.jpg
/home/pi/Desktop/images/27012025/00/39/image_27012025_00_39_02_571247_0002.jpg
/home/pi/Desktop/images/27012025/00/39/image_27012025_00_39_02_571247_0003.jpg
/home/pi/Desktop/images/27012025/00/40/image_27012025_00_40_02_689894_0000.jpg
/home/pi/Desktop/images/27012025/00/40/image_27012025_00_40_02_689894_0001.jpg
/home/pi/Desktop/images/27012025/00/40/image_27012025_00_40_02_689894_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331808521","1331808512","1331808514","1331808508","1331808517","1331808519"],"photo_ids_order":["1331808508","1331808512","1331808514","1331808517","1331808519","1331808521"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/55b64a14c1698de91f1129d41bb2cd93.jpg","text":"TemporaryFile(/tmp/multipartBody1336058879528967458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737935727547,"filename":"image_27012025_00_40_02_689894_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/d5e88c24e74226dcf112559bad63f71b.jpg","text":"TemporaryFile(/tmp/multipartBody1459207093319274930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737935727547,"filename":"image_27012025_00_39_02_571247_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/8e0eab05a6dab15459d41a0787a03b4a.jpg","text":"TemporaryFile(/tmp/multipartBody1390065706559963764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737935727547,"filename":"image_27012025_00_39_02_571247_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/0cca4178ebcc0cfb9f33c6674b115494.jpg","text":"TemporaryFile(/tmp/multipartBody6273734719039792861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737935727547,"filename":"image_27012025_00_39_02_571247_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/dedc9339417a131380c5f52126cbd1fc.jpg","text":"TemporaryFile(/tmp/multipartBody8490321595671959817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737935727547,"filename":"image_27012025_00_40_02_689894_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/cd4773251576fded58cea9ebadc777cd.jpg","text":"TemporaryFile(/tmp/multipartBody2340722269164700596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737935727547,"filename":"image_27012025_00_40_02_689894_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331808514","file1":"1331808512","file0":"1331808508","file4":"1331808519","file5":"1331808521","file3":"1331808517"},"map_files_photo_id_array":[{"photo_id":"1331808521","filename":"file5"},{"photo_id":"1331808514","filename":"file2"},{"photo_id":"1331808519","filename":"file4"},{"photo_id":"1331808512","filename":"file1"},{"photo_id":"1331808508","filename":"file0"},{"photo_id":"1331808517","filename":"file3"}],"portfolio_id":19942284,"hashtag_by_photo_ids":[{"1331808521":["hashtag1","hashtag2"]},{"1331808512":["hashtag1","hashtag2"]},{"1331808514":["hashtag1","hashtag2"]},{"1331808508":["hashtag1","hashtag2"]},{"1331808517":["hashtag1","hashtag2"]},{"1331808519":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942284 used, photo_id : ArrayBuffer(1331808521, 1331808512, 1331808514, 1331808508, 1331808517, 1331808519)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 106.14545440673828 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-27 00:55:22.215447
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/00/40/image_27012025_00_40_02_689894_0003.jpg', '/home/pi/Desktop/images/27012025/00/41/image_27012025_00_41_02_896123_0000.jpg', '/home/pi/Desktop/images/27012025/00/41/image_27012025_00_41_02_896123_0001.jpg', '/home/pi/Desktop/images/27012025/00/41/image_27012025_00_41_02_896123_0002.jpg', '/home/pi/Desktop/images/27012025/00/41/image_27012025_00_41_02_896123_0003.jpg', '/home/pi/Desktop/images/27012025/00/42/image_27012025_00_42_03_111172_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/00/40/image_27012025_00_40_02_689894_0003.jpg
/home/pi/Desktop/images/27012025/00/41/image_27012025_00_41_02_896123_0000.jpg
/home/pi/Desktop/images/27012025/00/41/image_27012025_00_41_02_896123_0001.jpg
/home/pi/Desktop/images/27012025/00/41/image_27012025_00_41_02_896123_0002.jpg
/home/pi/Desktop/images/27012025/00/41/image_27012025_00_41_02_896123_0003.jpg
/home/pi/Desktop/images/27012025/00/42/image_27012025_00_42_03_111172_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331808586","1331808588","1331808582","1331808585","1331808584","1331808587"],"photo_ids_order":["1331808582","1331808584","1331808585","1331808586","1331808587","1331808588"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/56bf9848e0e8d9c66ff8d2feaf331977.jpg","text":"TemporaryFile(/tmp/multipartBody5221698622520603258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737935846475,"filename":"image_27012025_00_41_02_896123_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/12f9aae5bf9260618772367a48bd35de.jpg","text":"TemporaryFile(/tmp/multipartBody5512438818783969953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737935846475,"filename":"image_27012025_00_42_03_111172_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/63e84b90cece26d96ab0932056c16444.jpg","text":"TemporaryFile(/tmp/multipartBody5887301867677355111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737935846475,"filename":"image_27012025_00_40_02_689894_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/be3301dc2927b9d17af64a89dbc13b45.jpg","text":"TemporaryFile(/tmp/multipartBody1109923661216574194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737935846475,"filename":"image_27012025_00_41_02_896123_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/ed3e79b24852862a479eb5a98b60151f.jpg","text":"TemporaryFile(/tmp/multipartBody432248414225546179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737935846475,"filename":"image_27012025_00_41_02_896123_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/2d7383b05b79da316afa56170a4be583.jpg","text":"TemporaryFile(/tmp/multipartBody2722000242341609064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737935846475,"filename":"image_27012025_00_41_02_896123_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331808585","file1":"1331808584","file0":"1331808582","file4":"1331808587","file5":"1331808588","file3":"1331808586"},"map_files_photo_id_array":[{"photo_id":"1331808588","filename":"file5"},{"photo_id":"1331808585","filename":"file2"},{"photo_id":"1331808587","filename":"file4"},{"photo_id":"1331808584","filename":"file1"},{"photo_id":"1331808582","filename":"file0"},{"photo_id":"1331808586","filename":"file3"}],"portfolio_id":19942284,"hashtag_by_photo_ids":[{"1331808586":["hashtag1","hashtag2"]},{"1331808588":["hashtag1","hashtag2"]},{"1331808582":["hashtag1","hashtag2"]},{"1331808585":["hashtag1","hashtag2"]},{"1331808584":["hashtag1","hashtag2"]},{"1331808587":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942284 used, photo_id : ArrayBuffer(1331808586, 1331808588, 1331808582, 1331808585, 1331808584, 1331808587)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 105.22456765174866 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-27 00:57:22.562326
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/00/42/image_27012025_00_42_03_111172_0001.jpg', '/home/pi/Desktop/images/27012025/00/42/image_27012025_00_42_03_111172_0002.jpg', '/home/pi/Desktop/images/27012025/00/42/image_27012025_00_42_03_111172_0003.jpg', '/home/pi/Desktop/images/27012025/00/43/image_27012025_00_43_02_311015_0000.jpg', '/home/pi/Desktop/images/27012025/00/43/image_27012025_00_43_02_311015_0001.jpg', '/home/pi/Desktop/images/27012025/00/43/image_27012025_00_43_02_311015_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/00/42/image_27012025_00_42_03_111172_0001.jpg
/home/pi/Desktop/images/27012025/00/42/image_27012025_00_42_03_111172_0002.jpg
/home/pi/Desktop/images/27012025/00/42/image_27012025_00_42_03_111172_0003.jpg
/home/pi/Desktop/images/27012025/00/43/image_27012025_00_43_02_311015_0000.jpg
/home/pi/Desktop/images/27012025/00/43/image_27012025_00_43_02_311015_0001.jpg
/home/pi/Desktop/images/27012025/00/43/image_27012025_00_43_02_311015_0002.jpg
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 00:59:02.435877
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/00/42/image_27012025_00_42_03_111172_0001.jpg', '/home/pi/Desktop/images/27012025/00/42/image_27012025_00_42_03_111172_0002.jpg', '/home/pi/Desktop/images/27012025/00/42/image_27012025_00_42_03_111172_0003.jpg', '/home/pi/Desktop/images/27012025/00/43/image_27012025_00_43_02_311015_0000.jpg', '/home/pi/Desktop/images/27012025/00/43/image_27012025_00_43_02_311015_0001.jpg', '/home/pi/Desktop/images/27012025/00/43/image_27012025_00_43_02_311015_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/00/42/image_27012025_00_42_03_111172_0001.jpg
/home/pi/Desktop/images/27012025/00/42/image_27012025_00_42_03_111172_0002.jpg
/home/pi/Desktop/images/27012025/00/42/image_27012025_00_42_03_111172_0003.jpg
/home/pi/Desktop/images/27012025/00/43/image_27012025_00_43_02_311015_0000.jpg
/home/pi/Desktop/images/27012025/00/43/image_27012025_00_43_02_311015_0001.jpg
/home/pi/Desktop/images/27012025/00/43/image_27012025_00_43_02_311015_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331808842","1331808826","1331808835","1331809023","1331808831","1331808839"],"photo_ids_order":["1331808826","1331808831","1331808835","1331808839","1331808842","1331809023"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/ba60a7ce4a73f53cb9a80bca895e184a.jpg","text":"TemporaryFile(/tmp/multipartBody5128985771891531291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737936066823,"filename":"image_27012025_00_43_02_311015_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/7141018c54e75e2a1874be87ec6b387a.jpg","text":"TemporaryFile(/tmp/multipartBody6692793977510405352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737936066823,"filename":"image_27012025_00_42_03_111172_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/3508751acb1015e3a3b1ff8a3ed35605.jpg","text":"TemporaryFile(/tmp/multipartBody2611732273509883112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737936066823,"filename":"image_27012025_00_42_03_111172_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/8e12a4d1a824d377f08a76e17d7a6afc.jpg","text":"TemporaryFile(/tmp/multipartBody7596749493815773265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737936066823,"filename":"image_27012025_00_43_02_311015_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/c8bcfebf645406f71576404794342ce2.jpg","text":"TemporaryFile(/tmp/multipartBody7909365978818069281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737936066823,"filename":"image_27012025_00_42_03_111172_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/4e8ea8f82edb5d9524e497febdabcdc7.jpg","text":"TemporaryFile(/tmp/multipartBody834159063404411578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737936066823,"filename":"image_27012025_00_43_02_311015_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331808835","file1":"1331808831","file0":"1331808826","file4":"1331808842","file5":"1331809023","file3":"1331808839"},"map_files_photo_id_array":[{"photo_id":"1331809023","filename":"file5"},{"photo_id":"1331808835","filename":"file2"},{"photo_id":"1331808842","filename":"file4"},{"photo_id":"1331808831","filename":"file1"},{"photo_id":"1331808826","filename":"file0"},{"photo_id":"1331808839","filename":"file3"}],"portfolio_id":19942284,"hashtag_by_photo_ids":[{"1331808842":["hashtag1","hashtag2"]},{"1331808826":["hashtag1","hashtag2"]},{"1331808835":["hashtag1","hashtag2"]},{"1331809023":["hashtag1","hashtag2"]},{"1331808831":["hashtag1","hashtag2"]},{"1331808839":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942284 used, photo_id : ArrayBuffer(1331808842, 1331808826, 1331808835, 1331809023, 1331808831, 1331808839)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 104.25293016433716 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 01:01:02.732056
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/00/43/image_27012025_00_43_02_311015_0003.jpg', '/home/pi/Desktop/images/27012025/00/44/image_27012025_00_44_02_540248_0000.jpg', '/home/pi/Desktop/images/27012025/00/44/image_27012025_00_44_02_540248_0001.jpg', '/home/pi/Desktop/images/27012025/00/44/image_27012025_00_44_02_540248_0002.jpg', '/home/pi/Desktop/images/27012025/00/44/image_27012025_00_44_02_540248_0003.jpg', '/home/pi/Desktop/images/27012025/00/45/image_27012025_00_45_02_719759_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/00/43/image_27012025_00_43_02_311015_0003.jpg
/home/pi/Desktop/images/27012025/00/44/image_27012025_00_44_02_540248_0000.jpg
/home/pi/Desktop/images/27012025/00/44/image_27012025_00_44_02_540248_0001.jpg
/home/pi/Desktop/images/27012025/00/44/image_27012025_00_44_02_540248_0002.jpg
/home/pi/Desktop/images/27012025/00/44/image_27012025_00_44_02_540248_0003.jpg
/home/pi/Desktop/images/27012025/00/45/image_27012025_00_45_02_719759_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331810315","1331810210","1331810312","1331810268","1331810310","1331810301"],"photo_ids_order":["1331810210","1331810268","1331810301","1331810310","1331810312","1331810315"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/7470cfbe974da3de803ea7ba48faef62.jpg","text":"TemporaryFile(/tmp/multipartBody4477732414089758913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737936187069,"filename":"image_27012025_00_45_02_719759_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/d8720f91c46dc481b85e2352f325ba36.jpg","text":"TemporaryFile(/tmp/multipartBody6262032848312426289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737936187069,"filename":"image_27012025_00_43_02_311015_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/108d73dd4af50c978d3f8f67d669e2eb.jpg","text":"TemporaryFile(/tmp/multipartBody3641603775109288898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737936187069,"filename":"image_27012025_00_44_02_540248_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/43dbfb274fc432b1b5b7e33da97ad587.jpg","text":"TemporaryFile(/tmp/multipartBody600852444472212351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737936187069,"filename":"image_27012025_00_44_02_540248_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/87eb922ea88a716e9ae4a406481929aa.jpg","text":"TemporaryFile(/tmp/multipartBody7868837121933731539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737936187069,"filename":"image_27012025_00_44_02_540248_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/03d570616834d3c217b9ec5bc353079d.jpg","text":"TemporaryFile(/tmp/multipartBody6770498027025814387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737936187069,"filename":"image_27012025_00_44_02_540248_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331810301","file1":"1331810268","file0":"1331810210","file4":"1331810312","file5":"1331810315","file3":"1331810310"},"map_files_photo_id_array":[{"photo_id":"1331810315","filename":"file5"},{"photo_id":"1331810301","filename":"file2"},{"photo_id":"1331810312","filename":"file4"},{"photo_id":"1331810268","filename":"file1"},{"photo_id":"1331810210","filename":"file0"},{"photo_id":"1331810310","filename":"file3"}],"portfolio_id":19942284,"hashtag_by_photo_ids":[{"1331810315":["hashtag1","hashtag2"]},{"1331810210":["hashtag1","hashtag2"]},{"1331810312":["hashtag1","hashtag2"]},{"1331810268":["hashtag1","hashtag2"]},{"1331810310":["hashtag1","hashtag2"]},{"1331810301":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942284 used, photo_id : ArrayBuffer(1331810315, 1331810210, 1331810312, 1331810268, 1331810310, 1331810301)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 105.5680844783783 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 01:03:02.847676
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/00/45/image_27012025_00_45_02_719759_0001.jpg', '/home/pi/Desktop/images/27012025/00/45/image_27012025_00_45_02_719759_0002.jpg', '/home/pi/Desktop/images/27012025/00/45/image_27012025_00_45_02_719759_0003.jpg', '/home/pi/Desktop/images/27012025/00/46/image_27012025_00_46_02_886742_0000.jpg', '/home/pi/Desktop/images/27012025/00/46/image_27012025_00_46_02_886742_0001.jpg', '/home/pi/Desktop/images/27012025/00/46/image_27012025_00_46_02_886742_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/00/45/image_27012025_00_45_02_719759_0001.jpg
/home/pi/Desktop/images/27012025/00/45/image_27012025_00_45_02_719759_0002.jpg
/home/pi/Desktop/images/27012025/00/45/image_27012025_00_45_02_719759_0003.jpg
/home/pi/Desktop/images/27012025/00/46/image_27012025_00_46_02_886742_0000.jpg
/home/pi/Desktop/images/27012025/00/46/image_27012025_00_46_02_886742_0001.jpg
/home/pi/Desktop/images/27012025/00/46/image_27012025_00_46_02_886742_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 62.2110230922699 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-27 01:04:21.871175
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/00/45/image_27012025_00_45_02_719759_0001.jpg', '/home/pi/Desktop/images/27012025/00/45/image_27012025_00_45_02_719759_0002.jpg', '/home/pi/Desktop/images/27012025/00/45/image_27012025_00_45_02_719759_0003.jpg', '/home/pi/Desktop/images/27012025/00/46/image_27012025_00_46_02_886742_0000.jpg', '/home/pi/Desktop/images/27012025/00/46/image_27012025_00_46_02_886742_0001.jpg', '/home/pi/Desktop/images/27012025/00/46/image_27012025_00_46_02_886742_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/00/45/image_27012025_00_45_02_719759_0001.jpg
/home/pi/Desktop/images/27012025/00/45/image_27012025_00_45_02_719759_0002.jpg
/home/pi/Desktop/images/27012025/00/45/image_27012025_00_45_02_719759_0003.jpg
/home/pi/Desktop/images/27012025/00/46/image_27012025_00_46_02_886742_0000.jpg
/home/pi/Desktop/images/27012025/00/46/image_27012025_00_46_02_886742_0001.jpg
/home/pi/Desktop/images/27012025/00/46/image_27012025_00_46_02_886742_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331811469","1331811477","1331811486","1331811471","1331811491","1331811482"],"photo_ids_order":["1331811469","1331811471","1331811477","1331811482","1331811486","1331811491"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/8e9f86427f6acb941b3d4edeb3aacf67.jpg","text":"TemporaryFile(/tmp/multipartBody1977061208984682207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737936384416,"filename":"image_27012025_00_45_02_719759_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/19efdeb28719ca0568d1636d0092f279.jpg","text":"TemporaryFile(/tmp/multipartBody2622343474122108879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737936384416,"filename":"image_27012025_00_45_02_719759_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/a14fe4b6c683796ed7df8886b9b3311a.jpg","text":"TemporaryFile(/tmp/multipartBody1775224841714484791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737936384416,"filename":"image_27012025_00_46_02_886742_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/e5bbb6bfae1b2871a9b037a69362dea2.jpg","text":"TemporaryFile(/tmp/multipartBody2521196729444345106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737936384416,"filename":"image_27012025_00_45_02_719759_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/79eb1850ad08b97ff27ce16283ec54e4.jpg","text":"TemporaryFile(/tmp/multipartBody6938411552805995074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737936384416,"filename":"image_27012025_00_46_02_886742_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/40cbf6a23f8f06966373b375bbced67b.jpg","text":"TemporaryFile(/tmp/multipartBody7511755119299174360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737936384416,"filename":"image_27012025_00_46_02_886742_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331811477","file1":"1331811471","file0":"1331811469","file4":"1331811486","file5":"1331811491","file3":"1331811482"},"map_files_photo_id_array":[{"photo_id":"1331811491","filename":"file5"},{"photo_id":"1331811477","filename":"file2"},{"photo_id":"1331811486","filename":"file4"},{"photo_id":"1331811471","filename":"file1"},{"photo_id":"1331811469","filename":"file0"},{"photo_id":"1331811482","filename":"file3"}],"portfolio_id":19942284,"hashtag_by_photo_ids":[{"1331811469":["hashtag1","hashtag2"]},{"1331811477":["hashtag1","hashtag2"]},{"1331811486":["hashtag1","hashtag2"]},{"1331811471":["hashtag1","hashtag2"]},{"1331811491":["hashtag1","hashtag2"]},{"1331811482":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942284 used, photo_id : ArrayBuffer(1331811469, 1331811477, 1331811486, 1331811471, 1331811491, 1331811482)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 105.17526197433472 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-27 01:06:22.039826
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/00/46/image_27012025_00_46_02_886742_0003.jpg', '/home/pi/Desktop/images/27012025/00/47/image_27012025_00_47_03_048633_0000.jpg', '/home/pi/Desktop/images/27012025/00/47/image_27012025_00_47_03_048633_0001.jpg', '/home/pi/Desktop/images/27012025/00/47/image_27012025_00_47_03_048633_0002.jpg', '/home/pi/Desktop/images/27012025/00/47/image_27012025_00_47_03_048633_0003.jpg', '/home/pi/Desktop/images/27012025/00/48/image_27012025_00_48_02_251993_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/00/46/image_27012025_00_46_02_886742_0003.jpg
/home/pi/Desktop/images/27012025/00/47/image_27012025_00_47_03_048633_0000.jpg
/home/pi/Desktop/images/27012025/00/47/image_27012025_00_47_03_048633_0001.jpg
/home/pi/Desktop/images/27012025/00/47/image_27012025_00_47_03_048633_0002.jpg
/home/pi/Desktop/images/27012025/00/47/image_27012025_00_47_03_048633_0003.jpg
/home/pi/Desktop/images/27012025/00/48/image_27012025_00_48_02_251993_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 63.44698643684387 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 01:08:02.429562
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/00/46/image_27012025_00_46_02_886742_0003.jpg', '/home/pi/Desktop/images/27012025/00/47/image_27012025_00_47_03_048633_0000.jpg', '/home/pi/Desktop/images/27012025/00/47/image_27012025_00_47_03_048633_0001.jpg', '/home/pi/Desktop/images/27012025/00/47/image_27012025_00_47_03_048633_0002.jpg', '/home/pi/Desktop/images/27012025/00/47/image_27012025_00_47_03_048633_0003.jpg', '/home/pi/Desktop/images/27012025/00/48/image_27012025_00_48_02_251993_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/00/46/image_27012025_00_46_02_886742_0003.jpg
/home/pi/Desktop/images/27012025/00/47/image_27012025_00_47_03_048633_0000.jpg
/home/pi/Desktop/images/27012025/00/47/image_27012025_00_47_03_048633_0001.jpg
/home/pi/Desktop/images/27012025/00/47/image_27012025_00_47_03_048633_0002.jpg
/home/pi/Desktop/images/27012025/00/47/image_27012025_00_47_03_048633_0003.jpg
/home/pi/Desktop/images/27012025/00/48/image_27012025_00_48_02_251993_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 63.438600301742554 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-27 01:09:22.611610
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/00/46/image_27012025_00_46_02_886742_0003.jpg', '/home/pi/Desktop/images/27012025/00/47/image_27012025_00_47_03_048633_0000.jpg', '/home/pi/Desktop/images/27012025/00/47/image_27012025_00_47_03_048633_0001.jpg', '/home/pi/Desktop/images/27012025/00/47/image_27012025_00_47_03_048633_0002.jpg', '/home/pi/Desktop/images/27012025/00/47/image_27012025_00_47_03_048633_0003.jpg', '/home/pi/Desktop/images/27012025/00/48/image_27012025_00_48_02_251993_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/00/46/image_27012025_00_46_02_886742_0003.jpg
/home/pi/Desktop/images/27012025/00/47/image_27012025_00_47_03_048633_0000.jpg
/home/pi/Desktop/images/27012025/00/47/image_27012025_00_47_03_048633_0001.jpg
/home/pi/Desktop/images/27012025/00/47/image_27012025_00_47_03_048633_0002.jpg
/home/pi/Desktop/images/27012025/00/47/image_27012025_00_47_03_048633_0003.jpg
/home/pi/Desktop/images/27012025/00/48/image_27012025_00_48_02_251993_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331811883","1331811916","1331811909","1331811912","1331811906","1331811902"],"photo_ids_order":["1331811883","1331811902","1331811906","1331811909","1331811912","1331811916"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/c985a92eee5b89b06e6ce2c3bdd68557.jpg","text":"TemporaryFile(/tmp/multipartBody8780713931318109476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737936686190,"filename":"image_27012025_00_46_02_886742_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/9146fcc8f8034f0806e209f848550611.jpg","text":"TemporaryFile(/tmp/multipartBody1157198668375370199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737936686190,"filename":"image_27012025_00_48_02_251993_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/15c2fd4cb3d01c2ffc853f721bc29f83.jpg","text":"TemporaryFile(/tmp/multipartBody3252102529514827608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737936686190,"filename":"image_27012025_00_47_03_048633_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/0e8b51c81025357e0bd7a067931db769.jpg","text":"TemporaryFile(/tmp/multipartBody1652422063185757328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737936686190,"filename":"image_27012025_00_47_03_048633_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/5583ca5cee2f69d391237435de334802.jpg","text":"TemporaryFile(/tmp/multipartBody3151097299364144203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737936686190,"filename":"image_27012025_00_47_03_048633_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/e7ca62b30656d6fc8e26c712f130c17d.jpg","text":"TemporaryFile(/tmp/multipartBody653626034185634516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737936686190,"filename":"image_27012025_00_47_03_048633_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331811906","file1":"1331811902","file0":"1331811883","file4":"1331811912","file5":"1331811916","file3":"1331811909"},"map_files_photo_id_array":[{"photo_id":"1331811916","filename":"file5"},{"photo_id":"1331811906","filename":"file2"},{"photo_id":"1331811912","filename":"file4"},{"photo_id":"1331811902","filename":"file1"},{"photo_id":"1331811883","filename":"file0"},{"photo_id":"1331811909","filename":"file3"}],"portfolio_id":19942284,"hashtag_by_photo_ids":[{"1331811883":["hashtag1","hashtag2"]},{"1331811916":["hashtag1","hashtag2"]},{"1331811909":["hashtag1","hashtag2"]},{"1331811912":["hashtag1","hashtag2"]},{"1331811906":["hashtag1","hashtag2"]},{"1331811902":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942284 used, photo_id : ArrayBuffer(1331811883, 1331811916, 1331811909, 1331811912, 1331811906, 1331811902)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 103.06018662452698 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-27 01:11:21.725392
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/00/48/image_27012025_00_48_02_251993_0001.jpg', '/home/pi/Desktop/images/27012025/00/48/image_27012025_00_48_02_251993_0002.jpg', '/home/pi/Desktop/images/27012025/00/48/image_27012025_00_48_02_251993_0003.jpg', '/home/pi/Desktop/images/27012025/00/49/image_27012025_00_49_02_301577_0000.jpg', '/home/pi/Desktop/images/27012025/00/49/image_27012025_00_49_02_301577_0001.jpg', '/home/pi/Desktop/images/27012025/00/49/image_27012025_00_49_02_301577_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/00/48/image_27012025_00_48_02_251993_0001.jpg
/home/pi/Desktop/images/27012025/00/48/image_27012025_00_48_02_251993_0002.jpg
/home/pi/Desktop/images/27012025/00/48/image_27012025_00_48_02_251993_0003.jpg
/home/pi/Desktop/images/27012025/00/49/image_27012025_00_49_02_301577_0000.jpg
/home/pi/Desktop/images/27012025/00/49/image_27012025_00_49_02_301577_0001.jpg
/home/pi/Desktop/images/27012025/00/49/image_27012025_00_49_02_301577_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331811940","1331811943","1331811946","1331811951","1331811954","1331811938"],"photo_ids_order":["1331811938","1331811940","1331811943","1331811946","1331811951","1331811954"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/34d85803e647fc5f0b81afcf3e3d70d5.jpg","text":"TemporaryFile(/tmp/multipartBody7193756422809779766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737936806822,"filename":"image_27012025_00_48_02_251993_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/f507d68ded27073dfaf45871ca6837a0.jpg","text":"TemporaryFile(/tmp/multipartBody1059332088469407330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737936806822,"filename":"image_27012025_00_48_02_251993_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/ab85b7e31c6d0cc7c096b95c990a4939.jpg","text":"TemporaryFile(/tmp/multipartBody7308814308336904255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737936806822,"filename":"image_27012025_00_49_02_301577_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/8c31d38f2e0717c3df9fb24de4f846b6.jpg","text":"TemporaryFile(/tmp/multipartBody6654755687498736077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737936806822,"filename":"image_27012025_00_49_02_301577_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/3101fd64d62bd9c7384e2431dd1f5eaa.jpg","text":"TemporaryFile(/tmp/multipartBody1116738989459859535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737936806822,"filename":"image_27012025_00_49_02_301577_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/8f4b00bd4a2a948605b0338220868334.jpg","text":"TemporaryFile(/tmp/multipartBody7937904171037175148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737936806822,"filename":"image_27012025_00_48_02_251993_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331811943","file1":"1331811940","file0":"1331811938","file4":"1331811951","file5":"1331811954","file3":"1331811946"},"map_files_photo_id_array":[{"photo_id":"1331811954","filename":"file5"},{"photo_id":"1331811943","filename":"file2"},{"photo_id":"1331811951","filename":"file4"},{"photo_id":"1331811940","filename":"file1"},{"photo_id":"1331811938","filename":"file0"},{"photo_id":"1331811946","filename":"file3"}],"portfolio_id":19942284,"hashtag_by_photo_ids":[{"1331811940":["hashtag1","hashtag2"]},{"1331811943":["hashtag1","hashtag2"]},{"1331811946":["hashtag1","hashtag2"]},{"1331811951":["hashtag1","hashtag2"]},{"1331811954":["hashtag1","hashtag2"]},{"1331811938":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942284 used, photo_id : ArrayBuffer(1331811940, 1331811943, 1331811946, 1331811951, 1331811954, 1331811938)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 106.25366830825806 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-27 01:13:21.824099
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/00/49/image_27012025_00_49_02_301577_0003.jpg', '/home/pi/Desktop/images/27012025/00/50/image_27012025_00_50_02_529069_0000.jpg', '/home/pi/Desktop/images/27012025/00/50/image_27012025_00_50_02_529069_0001.jpg', '/home/pi/Desktop/images/27012025/00/50/image_27012025_00_50_02_529069_0002.jpg', '/home/pi/Desktop/images/27012025/00/50/image_27012025_00_50_02_529069_0003.jpg', '/home/pi/Desktop/images/27012025/00/51/image_27012025_00_51_02_653408_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/00/49/image_27012025_00_49_02_301577_0003.jpg
/home/pi/Desktop/images/27012025/00/50/image_27012025_00_50_02_529069_0000.jpg
/home/pi/Desktop/images/27012025/00/50/image_27012025_00_50_02_529069_0001.jpg
/home/pi/Desktop/images/27012025/00/50/image_27012025_00_50_02_529069_0002.jpg
/home/pi/Desktop/images/27012025/00/50/image_27012025_00_50_02_529069_0003.jpg
/home/pi/Desktop/images/27012025/00/51/image_27012025_00_51_02_653408_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331812024","1331812098","1331812020","1331812130","1331812031","1331812028"],"photo_ids_order":["1331812020","1331812024","1331812028","1331812031","1331812098","1331812130"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/8ece51cb75c6b0e34f47d45d47a04f48.jpg","text":"TemporaryFile(/tmp/multipartBody6486273467991832931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737936928149,"filename":"image_27012025_00_50_02_529069_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/3d5024ed92aa010f3abcb4e872ea9a8b.jpg","text":"TemporaryFile(/tmp/multipartBody1494983330742312715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737936928149,"filename":"image_27012025_00_50_02_529069_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/fd2868282bfa26e06ed2d1ac0eb747de.jpg","text":"TemporaryFile(/tmp/multipartBody3540752786351426225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737936928149,"filename":"image_27012025_00_49_02_301577_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/9c1321ccbc0e4537b7f3b97986528339.jpg","text":"TemporaryFile(/tmp/multipartBody4784651972033947590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737936928149,"filename":"image_27012025_00_51_02_653408_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/f3bd16637b3d88455b8a58a9fd83e5aa.jpg","text":"TemporaryFile(/tmp/multipartBody4772094943102447773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737936928149,"filename":"image_27012025_00_50_02_529069_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/18de8c63f2f02c5f58d97af27960a4c3.jpg","text":"TemporaryFile(/tmp/multipartBody305929979798290214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737936928149,"filename":"image_27012025_00_50_02_529069_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331812028","file1":"1331812024","file0":"1331812020","file4":"1331812098","file5":"1331812130","file3":"1331812031"},"map_files_photo_id_array":[{"photo_id":"1331812130","filename":"file5"},{"photo_id":"1331812028","filename":"file2"},{"photo_id":"1331812098","filename":"file4"},{"photo_id":"1331812024","filename":"file1"},{"photo_id":"1331812020","filename":"file0"},{"photo_id":"1331812031","filename":"file3"}],"portfolio_id":19942284,"hashtag_by_photo_ids":[{"1331812024":["hashtag1","hashtag2"]},{"1331812098":["hashtag1","hashtag2"]},{"1331812020":["hashtag1","hashtag2"]},{"1331812130":["hashtag1","hashtag2"]},{"1331812031":["hashtag1","hashtag2"]},{"1331812028":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942284 used, photo_id : ArrayBuffer(1331812024, 1331812098, 1331812020, 1331812130, 1331812031, 1331812028)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 107.36284112930298 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-27 01:15:21.926022
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/00/51/image_27012025_00_51_02_653408_0001.jpg', '/home/pi/Desktop/images/27012025/00/51/image_27012025_00_51_02_653408_0002.jpg', '/home/pi/Desktop/images/27012025/00/51/image_27012025_00_51_02_653408_0003.jpg', '/home/pi/Desktop/images/27012025/00/52/image_27012025_00_52_02_881880_0000.jpg', '/home/pi/Desktop/images/27012025/00/52/image_27012025_00_52_02_881880_0001.jpg', '/home/pi/Desktop/images/27012025/00/52/image_27012025_00_52_02_881880_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/00/51/image_27012025_00_51_02_653408_0001.jpg
/home/pi/Desktop/images/27012025/00/51/image_27012025_00_51_02_653408_0002.jpg
/home/pi/Desktop/images/27012025/00/51/image_27012025_00_51_02_653408_0003.jpg
/home/pi/Desktop/images/27012025/00/52/image_27012025_00_52_02_881880_0000.jpg
/home/pi/Desktop/images/27012025/00/52/image_27012025_00_52_02_881880_0001.jpg
/home/pi/Desktop/images/27012025/00/52/image_27012025_00_52_02_881880_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331813262","1331813256","1331813259","1331813232","1331813252","1331813227"],"photo_ids_order":["1331813227","1331813232","1331813252","1331813256","1331813259","1331813262"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/8931e2a518a3df8f8b25ca21e7df1876.jpg","text":"TemporaryFile(/tmp/multipartBody3236672639844147421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737937046589,"filename":"image_27012025_00_52_02_881880_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/24ca8718d2c9ff206987290ccaa12237.jpg","text":"TemporaryFile(/tmp/multipartBody4077462565169104700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737937046589,"filename":"image_27012025_00_52_02_881880_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/1bb0238ca938e3927a9da398c42d4be8.jpg","text":"TemporaryFile(/tmp/multipartBody3852286104806412368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737937046589,"filename":"image_27012025_00_52_02_881880_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/60a115e21f1b0885014226021a28a4dd.jpg","text":"TemporaryFile(/tmp/multipartBody7480641603644472374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737937046589,"filename":"image_27012025_00_51_02_653408_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/5fdc9e5a3a962850fbea0c8487a5ccaa.jpg","text":"TemporaryFile(/tmp/multipartBody4919733690978415409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737937046589,"filename":"image_27012025_00_51_02_653408_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/dd1fa6e1495f28316b44ba8c00d1dfa9.jpg","text":"TemporaryFile(/tmp/multipartBody2035964922675357198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737937046589,"filename":"image_27012025_00_51_02_653408_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331813252","file1":"1331813232","file0":"1331813227","file4":"1331813259","file5":"1331813262","file3":"1331813256"},"map_files_photo_id_array":[{"photo_id":"1331813262","filename":"file5"},{"photo_id":"1331813252","filename":"file2"},{"photo_id":"1331813259","filename":"file4"},{"photo_id":"1331813232","filename":"file1"},{"photo_id":"1331813227","filename":"file0"},{"photo_id":"1331813256","filename":"file3"}],"portfolio_id":19942284,"hashtag_by_photo_ids":[{"1331813262":["hashtag1","hashtag2"]},{"1331813256":["hashtag1","hashtag2"]},{"1331813259":["hashtag1","hashtag2"]},{"1331813232":["hashtag1","hashtag2"]},{"1331813252":["hashtag1","hashtag2"]},{"1331813227":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942284 used, photo_id : ArrayBuffer(1331813262, 1331813256, 1331813259, 1331813232, 1331813252, 1331813227)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 106.55189275741577 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-27 01:17:21.905426
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/00/52/image_27012025_00_52_02_881880_0003.jpg', '/home/pi/Desktop/images/27012025/00/53/image_27012025_00_53_03_010125_0000.jpg', '/home/pi/Desktop/images/27012025/00/53/image_27012025_00_53_03_010125_0001.jpg', '/home/pi/Desktop/images/27012025/00/53/image_27012025_00_53_03_010125_0002.jpg', '/home/pi/Desktop/images/27012025/00/53/image_27012025_00_53_03_010125_0003.jpg', '/home/pi/Desktop/images/27012025/00/54/image_27012025_00_54_02_247356_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/00/52/image_27012025_00_52_02_881880_0003.jpg
/home/pi/Desktop/images/27012025/00/53/image_27012025_00_53_03_010125_0000.jpg
/home/pi/Desktop/images/27012025/00/53/image_27012025_00_53_03_010125_0001.jpg
/home/pi/Desktop/images/27012025/00/53/image_27012025_00_53_03_010125_0002.jpg
/home/pi/Desktop/images/27012025/00/53/image_27012025_00_53_03_010125_0003.jpg
/home/pi/Desktop/images/27012025/00/54/image_27012025_00_54_02_247356_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331814039","1331814062","1331814239","1331814043","1331814031","1331814034"],"photo_ids_order":["1331814031","1331814034","1331814039","1331814043","1331814062","1331814239"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/56ece4f5d7c4af8e06d78e23d22c4b77.jpg","text":"TemporaryFile(/tmp/multipartBody629727636987368087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737937167131,"filename":"image_27012025_00_53_03_010125_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/b7c35c46642cff7da9bbd8b0d768060a.jpg","text":"TemporaryFile(/tmp/multipartBody8350685120908587172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737937167131,"filename":"image_27012025_00_53_03_010125_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/57ee787687d33ab17543b32595335162.jpg","text":"TemporaryFile(/tmp/multipartBody8732685672785247347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737937167131,"filename":"image_27012025_00_54_02_247356_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/d1470266114ae4e56e3db0fab9647e67.jpg","text":"TemporaryFile(/tmp/multipartBody4503431634139940516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737937167131,"filename":"image_27012025_00_53_03_010125_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/525921a381f96946fa9a6c4274c95949.jpg","text":"TemporaryFile(/tmp/multipartBody521054351328555380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737937167131,"filename":"image_27012025_00_52_02_881880_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/eb41d139c2219eb085c5947d805329d4.jpg","text":"TemporaryFile(/tmp/multipartBody5279773538909680875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737937167131,"filename":"image_27012025_00_53_03_010125_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331814039","file1":"1331814034","file0":"1331814031","file4":"1331814062","file5":"1331814239","file3":"1331814043"},"map_files_photo_id_array":[{"photo_id":"1331814239","filename":"file5"},{"photo_id":"1331814039","filename":"file2"},{"photo_id":"1331814062","filename":"file4"},{"photo_id":"1331814034","filename":"file1"},{"photo_id":"1331814031","filename":"file0"},{"photo_id":"1331814043","filename":"file3"}],"portfolio_id":19942284,"hashtag_by_photo_ids":[{"1331814039":["hashtag1","hashtag2"]},{"1331814062":["hashtag1","hashtag2"]},{"1331814239":["hashtag1","hashtag2"]},{"1331814043":["hashtag1","hashtag2"]},{"1331814031":["hashtag1","hashtag2"]},{"1331814034":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942284 used, photo_id : ArrayBuffer(1331814039, 1331814062, 1331814239, 1331814043, 1331814031, 1331814034)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 106.51077699661255 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-27 01:19:21.993133
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/00/54/image_27012025_00_54_02_247356_0001.jpg', '/home/pi/Desktop/images/27012025/00/54/image_27012025_00_54_02_247356_0002.jpg', '/home/pi/Desktop/images/27012025/00/54/image_27012025_00_54_02_247356_0003.jpg', '/home/pi/Desktop/images/27012025/00/55/image_27012025_00_55_02_435270_0000.jpg', '/home/pi/Desktop/images/27012025/00/55/image_27012025_00_55_02_435270_0001.jpg', '/home/pi/Desktop/images/27012025/00/55/image_27012025_00_55_02_435270_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/00/54/image_27012025_00_54_02_247356_0001.jpg
/home/pi/Desktop/images/27012025/00/54/image_27012025_00_54_02_247356_0002.jpg
/home/pi/Desktop/images/27012025/00/54/image_27012025_00_54_02_247356_0003.jpg
/home/pi/Desktop/images/27012025/00/55/image_27012025_00_55_02_435270_0000.jpg
/home/pi/Desktop/images/27012025/00/55/image_27012025_00_55_02_435270_0001.jpg
/home/pi/Desktop/images/27012025/00/55/image_27012025_00_55_02_435270_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331814893","1331814804","1331814841","1331814859","1331814739","1331814798"],"photo_ids_order":["1331814739","1331814798","1331814804","1331814841","1331814859","1331814893"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/6ad3ecfa4ca661e351e814b1329505db.jpg","text":"TemporaryFile(/tmp/multipartBody8060602078484017645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737937285989,"filename":"image_27012025_00_55_02_435270_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/676e920e3c990f5f9425695ac3c0d1e7.jpg","text":"TemporaryFile(/tmp/multipartBody5698698750311362233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737937285989,"filename":"image_27012025_00_54_02_247356_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/f50f505095333d01907cdc75d3f4caea.jpg","text":"TemporaryFile(/tmp/multipartBody6209903610395195404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737937285989,"filename":"image_27012025_00_55_02_435270_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/514b819e7d5f319ae9230cb834c225bd.jpg","text":"TemporaryFile(/tmp/multipartBody6880335999375307651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737937285989,"filename":"image_27012025_00_55_02_435270_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/a33ffca1bd88811cae12be1ab24f9fc9.jpg","text":"TemporaryFile(/tmp/multipartBody3665957851479854772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737937285989,"filename":"image_27012025_00_54_02_247356_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/5d2c2efa8f130c271ef41c22720fdf74.jpg","text":"TemporaryFile(/tmp/multipartBody8449351737244425892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737937285989,"filename":"image_27012025_00_54_02_247356_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331814804","file1":"1331814798","file0":"1331814739","file4":"1331814859","file5":"1331814893","file3":"1331814841"},"map_files_photo_id_array":[{"photo_id":"1331814893","filename":"file5"},{"photo_id":"1331814804","filename":"file2"},{"photo_id":"1331814859","filename":"file4"},{"photo_id":"1331814798","filename":"file1"},{"photo_id":"1331814739","filename":"file0"},{"photo_id":"1331814841","filename":"file3"}],"portfolio_id":19942284,"hashtag_by_photo_ids":[{"1331814893":["hashtag1","hashtag2"]},{"1331814804":["hashtag1","hashtag2"]},{"1331814841":["hashtag1","hashtag2"]},{"1331814859":["hashtag1","hashtag2"]},{"1331814739":["hashtag1","hashtag2"]},{"1331814798":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942284 used, photo_id : ArrayBuffer(1331814893, 1331814804, 1331814841, 1331814859, 1331814739, 1331814798)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 104.3859691619873 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-27 01:21:22.003835
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/00/55/image_27012025_00_55_02_435270_0003.jpg', '/home/pi/Desktop/images/27012025/00/56/image_27012025_00_56_02_628351_0000.jpg', '/home/pi/Desktop/images/27012025/00/56/image_27012025_00_56_02_628351_0001.jpg', '/home/pi/Desktop/images/27012025/00/56/image_27012025_00_56_02_628351_0002.jpg', '/home/pi/Desktop/images/27012025/00/56/image_27012025_00_56_02_628351_0003.jpg', '/home/pi/Desktop/images/27012025/00/57/image_27012025_00_57_02_785257_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/00/55/image_27012025_00_55_02_435270_0003.jpg
/home/pi/Desktop/images/27012025/00/56/image_27012025_00_56_02_628351_0000.jpg
/home/pi/Desktop/images/27012025/00/56/image_27012025_00_56_02_628351_0001.jpg
/home/pi/Desktop/images/27012025/00/56/image_27012025_00_56_02_628351_0002.jpg
/home/pi/Desktop/images/27012025/00/56/image_27012025_00_56_02_628351_0003.jpg
/home/pi/Desktop/images/27012025/00/57/image_27012025_00_57_02_785257_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331814962","1331814947","1331814914","1331814908","1331814937","1331814910"],"photo_ids_order":["1331814908","1331814910","1331814914","1331814937","1331814947","1331814962"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/da669cad8def6b8267b2ce3926360918.jpg","text":"TemporaryFile(/tmp/multipartBody4111423577107568226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737937405941,"filename":"image_27012025_00_57_02_785257_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/6e82a4cc53cea378ec328e0d6f1b23ae.jpg","text":"TemporaryFile(/tmp/multipartBody197926935784390114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737937405941,"filename":"image_27012025_00_56_02_628351_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/1286d2789501e8765ca275873d3ae00f.jpg","text":"TemporaryFile(/tmp/multipartBody3551715402246684371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737937405941,"filename":"image_27012025_00_56_02_628351_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/f737cfd94639e06c76c6e14d5b6d0a00.jpg","text":"TemporaryFile(/tmp/multipartBody1027211222793095836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737937405941,"filename":"image_27012025_00_55_02_435270_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/b0cec5b81b1779f61f8003197c82abbd.jpg","text":"TemporaryFile(/tmp/multipartBody3326457079964770322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737937405941,"filename":"image_27012025_00_56_02_628351_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/fbd9fcd607e19d63d084b8d9e378fb24.jpg","text":"TemporaryFile(/tmp/multipartBody179615166947877219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737937405941,"filename":"image_27012025_00_56_02_628351_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331814914","file1":"1331814910","file0":"1331814908","file4":"1331814947","file5":"1331814962","file3":"1331814937"},"map_files_photo_id_array":[{"photo_id":"1331814962","filename":"file5"},{"photo_id":"1331814914","filename":"file2"},{"photo_id":"1331814947","filename":"file4"},{"photo_id":"1331814910","filename":"file1"},{"photo_id":"1331814908","filename":"file0"},{"photo_id":"1331814937","filename":"file3"}],"portfolio_id":19942284,"hashtag_by_photo_ids":[{"1331814962":["hashtag1","hashtag2"]},{"1331814947":["hashtag1","hashtag2"]},{"1331814914":["hashtag1","hashtag2"]},{"1331814908":["hashtag1","hashtag2"]},{"1331814937":["hashtag1","hashtag2"]},{"1331814910":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942284 used, photo_id : ArrayBuffer(1331814962, 1331814947, 1331814914, 1331814908, 1331814937, 1331814910)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 104.90125465393066 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-27 01:23:22.230457
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/00/57/image_27012025_00_57_02_785257_0001.jpg', '/home/pi/Desktop/images/27012025/00/57/image_27012025_00_57_02_785257_0002.jpg', '/home/pi/Desktop/images/27012025/00/57/image_27012025_00_57_02_785257_0003.jpg', '/home/pi/Desktop/images/27012025/00/58/image_27012025_00_58_02_908017_0000.jpg', '/home/pi/Desktop/images/27012025/00/58/image_27012025_00_58_02_908017_0001.jpg', '/home/pi/Desktop/images/27012025/00/58/image_27012025_00_58_02_908017_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/00/57/image_27012025_00_57_02_785257_0001.jpg
/home/pi/Desktop/images/27012025/00/57/image_27012025_00_57_02_785257_0002.jpg
/home/pi/Desktop/images/27012025/00/57/image_27012025_00_57_02_785257_0003.jpg
/home/pi/Desktop/images/27012025/00/58/image_27012025_00_58_02_908017_0000.jpg
/home/pi/Desktop/images/27012025/00/58/image_27012025_00_58_02_908017_0001.jpg
/home/pi/Desktop/images/27012025/00/58/image_27012025_00_58_02_908017_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331815025","1331815040","1331815021","1331815006","1331815146","1331815116"],"photo_ids_order":["1331815006","1331815021","1331815025","1331815040","1331815116","1331815146"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/a2b29f42e42056ca601a92cbfe757dce.jpg","text":"TemporaryFile(/tmp/multipartBody8378215976037092499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737937525462,"filename":"image_27012025_00_57_02_785257_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/f1bae936605a49ad1960811f33da421d.jpg","text":"TemporaryFile(/tmp/multipartBody7469490543560973712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737937525462,"filename":"image_27012025_00_58_02_908017_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/6fac024df0863c331ca2f1d00986f0c1.jpg","text":"TemporaryFile(/tmp/multipartBody1336392766622415542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737937525462,"filename":"image_27012025_00_57_02_785257_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/40516d0b149ee4fba4bacf299f2aa3bf.jpg","text":"TemporaryFile(/tmp/multipartBody3606478793773410252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737937525462,"filename":"image_27012025_00_57_02_785257_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/c8de7f0ba95d66e1fcb8718e1217143d.jpg","text":"TemporaryFile(/tmp/multipartBody7608042071809954330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737937525462,"filename":"image_27012025_00_58_02_908017_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/75eae4f67548fb1e83dafc6f346bcb12.jpg","text":"TemporaryFile(/tmp/multipartBody299241474878562434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737937525462,"filename":"image_27012025_00_58_02_908017_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331815025","file1":"1331815021","file0":"1331815006","file4":"1331815116","file5":"1331815146","file3":"1331815040"},"map_files_photo_id_array":[{"photo_id":"1331815146","filename":"file5"},{"photo_id":"1331815025","filename":"file2"},{"photo_id":"1331815116","filename":"file4"},{"photo_id":"1331815021","filename":"file1"},{"photo_id":"1331815006","filename":"file0"},{"photo_id":"1331815040","filename":"file3"}],"portfolio_id":19942284,"hashtag_by_photo_ids":[{"1331815025":["hashtag1","hashtag2"]},{"1331815040":["hashtag1","hashtag2"]},{"1331815021":["hashtag1","hashtag2"]},{"1331815006":["hashtag1","hashtag2"]},{"1331815146":["hashtag1","hashtag2"]},{"1331815116":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942284 used, photo_id : ArrayBuffer(1331815025, 1331815040, 1331815021, 1331815006, 1331815146, 1331815116)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 103.0290093421936 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-27 01:25:22.341514
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/00/58/image_27012025_00_58_02_908017_0003.jpg', '/home/pi/Desktop/images/27012025/00/59/image_27012025_00_59_03_065348_0000.jpg', '/home/pi/Desktop/images/27012025/00/59/image_27012025_00_59_03_065348_0001.jpg', '/home/pi/Desktop/images/27012025/00/59/image_27012025_00_59_03_065348_0002.jpg', '/home/pi/Desktop/images/27012025/00/59/image_27012025_00_59_03_065348_0003.jpg', '/home/pi/Desktop/images/27012025/01/00/image_27012025_01_00_02_258789_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/00/58/image_27012025_00_58_02_908017_0003.jpg
/home/pi/Desktop/images/27012025/00/59/image_27012025_00_59_03_065348_0000.jpg
/home/pi/Desktop/images/27012025/00/59/image_27012025_00_59_03_065348_0001.jpg
/home/pi/Desktop/images/27012025/00/59/image_27012025_00_59_03_065348_0002.jpg
/home/pi/Desktop/images/27012025/00/59/image_27012025_00_59_03_065348_0003.jpg
/home/pi/Desktop/images/27012025/01/00/image_27012025_01_00_02_258789_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331815388","1331815486","1331815459","1331815438","1331815482","1331815518"],"photo_ids_order":["1331815388","1331815438","1331815459","1331815482","1331815486","1331815518"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/3a296276facf3da661e0c42738b97fb7.jpg","text":"TemporaryFile(/tmp/multipartBody275904662655289800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737937646873,"filename":"image_27012025_00_58_02_908017_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/d113d3b8f7eca2c1f3361b2966eac2d7.jpg","text":"TemporaryFile(/tmp/multipartBody8738113540427367520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737937646873,"filename":"image_27012025_00_59_03_065348_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/cdcb2c89c0096a7012e8d44acc206d10.jpg","text":"TemporaryFile(/tmp/multipartBody8300681064459673515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737937646873,"filename":"image_27012025_00_59_03_065348_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/07cf65a4fd531e43f34ec6fe5955a94a.jpg","text":"TemporaryFile(/tmp/multipartBody3021068705395531320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737937646873,"filename":"image_27012025_00_59_03_065348_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/7cb8d86484a7e2e3bcf2d6a8786bec76.jpg","text":"TemporaryFile(/tmp/multipartBody4805047833802634209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737937646873,"filename":"image_27012025_00_59_03_065348_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/4c3f8b4119f23ae02a56110202887470.jpg","text":"TemporaryFile(/tmp/multipartBody6249070742743284125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737937646873,"filename":"image_27012025_01_00_02_258789_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331815459","file1":"1331815438","file0":"1331815388","file4":"1331815486","file5":"1331815518","file3":"1331815482"},"map_files_photo_id_array":[{"photo_id":"1331815518","filename":"file5"},{"photo_id":"1331815459","filename":"file2"},{"photo_id":"1331815486","filename":"file4"},{"photo_id":"1331815438","filename":"file1"},{"photo_id":"1331815388","filename":"file0"},{"photo_id":"1331815482","filename":"file3"}],"portfolio_id":19942284,"hashtag_by_photo_ids":[{"1331815388":["hashtag1","hashtag2"]},{"1331815486":["hashtag1","hashtag2"]},{"1331815459":["hashtag1","hashtag2"]},{"1331815438":["hashtag1","hashtag2"]},{"1331815482":["hashtag1","hashtag2"]},{"1331815518":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942284 used, photo_id : ArrayBuffer(1331815388, 1331815486, 1331815459, 1331815438, 1331815482, 1331815518)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 106.27503681182861 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-27 01:27:22.322970
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/01/00/image_27012025_01_00_02_258789_0001.jpg', '/home/pi/Desktop/images/27012025/01/00/image_27012025_01_00_02_258789_0002.jpg', '/home/pi/Desktop/images/27012025/01/00/image_27012025_01_00_02_258789_0003.jpg', '/home/pi/Desktop/images/27012025/01/01/image_27012025_01_01_03_007692_0000.jpg', '/home/pi/Desktop/images/27012025/01/01/image_27012025_01_01_03_007692_0001.jpg', '/home/pi/Desktop/images/27012025/01/01/image_27012025_01_01_03_007692_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/01/00/image_27012025_01_00_02_258789_0001.jpg
/home/pi/Desktop/images/27012025/01/00/image_27012025_01_00_02_258789_0002.jpg
/home/pi/Desktop/images/27012025/01/00/image_27012025_01_00_02_258789_0003.jpg
/home/pi/Desktop/images/27012025/01/01/image_27012025_01_01_03_007692_0000.jpg
/home/pi/Desktop/images/27012025/01/01/image_27012025_01_01_03_007692_0001.jpg
/home/pi/Desktop/images/27012025/01/01/image_27012025_01_01_03_007692_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331815654","1331815636","1331815659","1331815650","1331815602","1331815626"],"photo_ids_order":["1331815602","1331815626","1331815636","1331815650","1331815654","1331815659"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/eb9ac902f357a57ed0632470f111a361.jpg","text":"TemporaryFile(/tmp/multipartBody3781023907052512816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737937766744,"filename":"image_27012025_01_01_03_007692_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/721134a89758df1fe189db33443f193a.jpg","text":"TemporaryFile(/tmp/multipartBody4481787641115502910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737937766744,"filename":"image_27012025_01_00_02_258789_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/9886f50e496b4ae2e317f447a4f49b5a.jpg","text":"TemporaryFile(/tmp/multipartBody8534025484870040143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737937766744,"filename":"image_27012025_01_01_03_007692_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/6268fc220103e5ddbaeaf157fb75944d.jpg","text":"TemporaryFile(/tmp/multipartBody871472103551159075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737937766744,"filename":"image_27012025_01_01_03_007692_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/00c098e3824b8fb8670ea1dc39d60442.jpg","text":"TemporaryFile(/tmp/multipartBody8352325865537253561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737937766744,"filename":"image_27012025_01_00_02_258789_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/89ffa7d2417ba75f6dd0b7a1179cc020.jpg","text":"TemporaryFile(/tmp/multipartBody922493317652132705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737937766744,"filename":"image_27012025_01_00_02_258789_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331815636","file1":"1331815626","file0":"1331815602","file4":"1331815654","file5":"1331815659","file3":"1331815650"},"map_files_photo_id_array":[{"photo_id":"1331815659","filename":"file5"},{"photo_id":"1331815636","filename":"file2"},{"photo_id":"1331815654","filename":"file4"},{"photo_id":"1331815626","filename":"file1"},{"photo_id":"1331815602","filename":"file0"},{"photo_id":"1331815650","filename":"file3"}],"portfolio_id":19942284,"hashtag_by_photo_ids":[{"1331815654":["hashtag1","hashtag2"]},{"1331815636":["hashtag1","hashtag2"]},{"1331815659":["hashtag1","hashtag2"]},{"1331815650":["hashtag1","hashtag2"]},{"1331815602":["hashtag1","hashtag2"]},{"1331815626":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942284 used, photo_id : ArrayBuffer(1331815654, 1331815636, 1331815659, 1331815650, 1331815602, 1331815626)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 103.7480981349945 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-27 01:29:22.550914
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/01/01/image_27012025_01_01_03_007692_0003.jpg', '/home/pi/Desktop/images/27012025/01/02/image_27012025_01_02_02_546878_0000.jpg', '/home/pi/Desktop/images/27012025/01/02/image_27012025_01_02_02_546878_0002.jpg', '/home/pi/Desktop/images/27012025/01/02/image_27012025_01_02_02_546878_0003.jpg', '/home/pi/Desktop/images/27012025/01/03/image_27012025_01_03_02_178046_0000.jpg', '/home/pi/Desktop/images/27012025/01/03/image_27012025_01_03_02_178046_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/01/01/image_27012025_01_01_03_007692_0003.jpg
/home/pi/Desktop/images/27012025/01/02/image_27012025_01_02_02_546878_0000.jpg
/home/pi/Desktop/images/27012025/01/02/image_27012025_01_02_02_546878_0002.jpg
/home/pi/Desktop/images/27012025/01/02/image_27012025_01_02_02_546878_0003.jpg
/home/pi/Desktop/images/27012025/01/03/image_27012025_01_03_02_178046_0000.jpg
/home/pi/Desktop/images/27012025/01/03/image_27012025_01_03_02_178046_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331815904","1331816029","1331815867","1331816104","1331815695","1331816052"],"photo_ids_order":["1331815695","1331815867","1331815904","1331816029","1331816052","1331816104"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/e0d29a23d405e1473543ce32b7bfd6cc.jpg","text":"TemporaryFile(/tmp/multipartBody1290172601945127496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737937887166,"filename":"image_27012025_01_02_02_546878_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/fd62362f0d692e1c4ce81eab5cc46399.jpg","text":"TemporaryFile(/tmp/multipartBody3578946789939763581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737937887166,"filename":"image_27012025_01_02_02_546878_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/f5c8a56078a727dd2157774c496d291f.jpg","text":"TemporaryFile(/tmp/multipartBody2521954874398948702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737937887166,"filename":"image_27012025_01_02_02_546878_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/27197ee73e5dc39f22f1db3415d7e0f1.jpg","text":"TemporaryFile(/tmp/multipartBody4262741546386884063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737937887166,"filename":"image_27012025_01_03_02_178046_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/3aa7a78a4b8f57d0acff35c836592c2e.jpg","text":"TemporaryFile(/tmp/multipartBody3352973823385988048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737937887166,"filename":"image_27012025_01_01_03_007692_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/efa55708eed2194a2390095451a0fb6d.jpg","text":"TemporaryFile(/tmp/multipartBody7298743405509478583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737937887166,"filename":"image_27012025_01_03_02_178046_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331815904","file1":"1331815867","file0":"1331815695","file4":"1331816052","file5":"1331816104","file3":"1331816029"},"map_files_photo_id_array":[{"photo_id":"1331816104","filename":"file5"},{"photo_id":"1331815904","filename":"file2"},{"photo_id":"1331816052","filename":"file4"},{"photo_id":"1331815867","filename":"file1"},{"photo_id":"1331815695","filename":"file0"},{"photo_id":"1331816029","filename":"file3"}],"portfolio_id":19942284,"hashtag_by_photo_ids":[{"1331815904":["hashtag1","hashtag2"]},{"1331816029":["hashtag1","hashtag2"]},{"1331815867":["hashtag1","hashtag2"]},{"1331816104":["hashtag1","hashtag2"]},{"1331815695":["hashtag1","hashtag2"]},{"1331816052":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942284 used, photo_id : ArrayBuffer(1331815904, 1331816029, 1331815867, 1331816104, 1331815695, 1331816052)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 104.35004925727844 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-27 01:31:22.536168
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/01/03/image_27012025_01_03_02_178046_0002.jpg', '/home/pi/Desktop/images/27012025/01/03/image_27012025_01_03_02_178046_0003.jpg', '/home/pi/Desktop/images/27012025/01/04/image_27012025_01_04_02_670533_0000.jpg', '/home/pi/Desktop/images/27012025/01/04/image_27012025_01_04_02_670533_0002.jpg', '/home/pi/Desktop/images/27012025/01/04/image_27012025_01_04_02_670533_0003.jpg', '/home/pi/Desktop/images/27012025/01/05/image_27012025_01_05_02_262714_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/01/03/image_27012025_01_03_02_178046_0002.jpg
/home/pi/Desktop/images/27012025/01/03/image_27012025_01_03_02_178046_0003.jpg
/home/pi/Desktop/images/27012025/01/04/image_27012025_01_04_02_670533_0000.jpg
/home/pi/Desktop/images/27012025/01/04/image_27012025_01_04_02_670533_0002.jpg
/home/pi/Desktop/images/27012025/01/04/image_27012025_01_04_02_670533_0003.jpg
/home/pi/Desktop/images/27012025/01/05/image_27012025_01_05_02_262714_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331816299","1331816303","1331816440","1331816385","1331816409","1331816430"],"photo_ids_order":["1331816299","1331816303","1331816385","1331816409","1331816430","1331816440"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/20075183fc2e424aa7d54c01d88dfa28.jpg","text":"TemporaryFile(/tmp/multipartBody3186196643115946461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737938006982,"filename":"image_27012025_01_03_02_178046_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/3632cd9bc06252484f765bbf34a77820.jpg","text":"TemporaryFile(/tmp/multipartBody2465572385008134285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737938006982,"filename":"image_27012025_01_03_02_178046_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/6e95f796f5ab18be41fa93d0e79ec505.jpg","text":"TemporaryFile(/tmp/multipartBody2466478789625179095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737938006982,"filename":"image_27012025_01_05_02_262714_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/f37f79ecbf730285e8f55b18303fda5c.jpg","text":"TemporaryFile(/tmp/multipartBody5000634473237673335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737938006982,"filename":"image_27012025_01_04_02_670533_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/b214754af2b91448e9631bc2c35c23af.jpg","text":"TemporaryFile(/tmp/multipartBody2288218321387798796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737938006982,"filename":"image_27012025_01_04_02_670533_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/1b02dab1d133c07a456c309fecacfb49.jpg","text":"TemporaryFile(/tmp/multipartBody7276554056707829121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737938006982,"filename":"image_27012025_01_04_02_670533_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331816385","file1":"1331816303","file0":"1331816299","file4":"1331816430","file5":"1331816440","file3":"1331816409"},"map_files_photo_id_array":[{"photo_id":"1331816440","filename":"file5"},{"photo_id":"1331816385","filename":"file2"},{"photo_id":"1331816430","filename":"file4"},{"photo_id":"1331816303","filename":"file1"},{"photo_id":"1331816299","filename":"file0"},{"photo_id":"1331816409","filename":"file3"}],"portfolio_id":19942284,"hashtag_by_photo_ids":[{"1331816299":["hashtag1","hashtag2"]},{"1331816303":["hashtag1","hashtag2"]},{"1331816440":["hashtag1","hashtag2"]},{"1331816385":["hashtag1","hashtag2"]},{"1331816409":["hashtag1","hashtag2"]},{"1331816430":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942284 used, photo_id : ArrayBuffer(1331816299, 1331816303, 1331816440, 1331816385, 1331816409, 1331816430)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 104.68628573417664 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-27 01:33:22.512311
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/01/05/image_27012025_01_05_02_262714_0001.jpg', '/home/pi/Desktop/images/27012025/01/05/image_27012025_01_05_02_262714_0002.jpg', '/home/pi/Desktop/images/27012025/01/06/image_27012025_01_06_02_812068_0000.jpg', '/home/pi/Desktop/images/27012025/01/06/image_27012025_01_06_02_812068_0001.jpg', '/home/pi/Desktop/images/27012025/01/06/image_27012025_01_06_02_812068_0002.jpg', '/home/pi/Desktop/images/27012025/01/06/image_27012025_01_06_02_812068_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/01/05/image_27012025_01_05_02_262714_0001.jpg
/home/pi/Desktop/images/27012025/01/05/image_27012025_01_05_02_262714_0002.jpg
/home/pi/Desktop/images/27012025/01/06/image_27012025_01_06_02_812068_0000.jpg
/home/pi/Desktop/images/27012025/01/06/image_27012025_01_06_02_812068_0001.jpg
/home/pi/Desktop/images/27012025/01/06/image_27012025_01_06_02_812068_0002.jpg
/home/pi/Desktop/images/27012025/01/06/image_27012025_01_06_02_812068_0003.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331816516","1331816530","1331816524","1331816527","1331816520","1331816514"],"photo_ids_order":["1331816514","1331816516","1331816520","1331816524","1331816527","1331816530"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/e9b928d80ba0510047e7bd23074f9251.jpg","text":"TemporaryFile(/tmp/multipartBody8033345999032233443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737938127097,"filename":"image_27012025_01_05_02_262714_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/33ebe3cb0d9b96f0cb5d6ed8056e825f.jpg","text":"TemporaryFile(/tmp/multipartBody4313892955045948381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737938127097,"filename":"image_27012025_01_06_02_812068_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/61ff79e9066110bf2e455fbabc7e7a12.jpg","text":"TemporaryFile(/tmp/multipartBody6075603335372356383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737938127097,"filename":"image_27012025_01_06_02_812068_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/68935e59d89bb171e5476e0b81e4d58c.jpg","text":"TemporaryFile(/tmp/multipartBody7468732187155180241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737938127097,"filename":"image_27012025_01_06_02_812068_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/5e50f85fd7ea54d8d2d6fbe69f187d9c.jpg","text":"TemporaryFile(/tmp/multipartBody8140491262253493229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737938127097,"filename":"image_27012025_01_06_02_812068_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/c483f3ae125cf91796a0b28258eb07a6.jpg","text":"TemporaryFile(/tmp/multipartBody1655886783516127362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737938127097,"filename":"image_27012025_01_05_02_262714_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331816520","file1":"1331816516","file0":"1331816514","file4":"1331816527","file5":"1331816530","file3":"1331816524"},"map_files_photo_id_array":[{"photo_id":"1331816530","filename":"file5"},{"photo_id":"1331816520","filename":"file2"},{"photo_id":"1331816527","filename":"file4"},{"photo_id":"1331816516","filename":"file1"},{"photo_id":"1331816514","filename":"file0"},{"photo_id":"1331816524","filename":"file3"}],"portfolio_id":19942284,"hashtag_by_photo_ids":[{"1331816516":["hashtag1","hashtag2"]},{"1331816530":["hashtag1","hashtag2"]},{"1331816524":["hashtag1","hashtag2"]},{"1331816527":["hashtag1","hashtag2"]},{"1331816520":["hashtag1","hashtag2"]},{"1331816514":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942284 used, photo_id : ArrayBuffer(1331816516, 1331816530, 1331816524, 1331816527, 1331816520, 1331816514)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 105.74229216575623 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-27 01:35:22.662753
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/01/07/image_27012025_01_07_02_383320_0000.jpg', '/home/pi/Desktop/images/27012025/01/07/image_27012025_01_07_02_383320_0001.jpg', '/home/pi/Desktop/images/27012025/01/07/image_27012025_01_07_02_383320_0002.jpg', '/home/pi/Desktop/images/27012025/01/07/image_27012025_01_07_02_383320_0003.jpg', '/home/pi/Desktop/images/27012025/01/08/image_27012025_01_08_02_890389_0000.jpg', '/home/pi/Desktop/images/27012025/01/08/image_27012025_01_08_02_890389_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/01/07/image_27012025_01_07_02_383320_0000.jpg
/home/pi/Desktop/images/27012025/01/07/image_27012025_01_07_02_383320_0001.jpg
/home/pi/Desktop/images/27012025/01/07/image_27012025_01_07_02_383320_0002.jpg
/home/pi/Desktop/images/27012025/01/07/image_27012025_01_07_02_383320_0003.jpg
/home/pi/Desktop/images/27012025/01/08/image_27012025_01_08_02_890389_0000.jpg
/home/pi/Desktop/images/27012025/01/08/image_27012025_01_08_02_890389_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331816819","1331816551","1331816569","1331816635","1331816815","1331816736"],"photo_ids_order":["1331816551","1331816569","1331816635","1331816736","1331816815","1331816819"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/00825c23a3bef99d23568b699665942d.jpg","text":"TemporaryFile(/tmp/multipartBody5117081267073681039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737938247284,"filename":"image_27012025_01_08_02_890389_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/0dcf932141d1b32ea525240d80d1de70.jpg","text":"TemporaryFile(/tmp/multipartBody6157028854712399013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737938247284,"filename":"image_27012025_01_07_02_383320_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/cc7d6e0c63ad055905ca536e1bc89083.jpg","text":"TemporaryFile(/tmp/multipartBody1670750664766423421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737938247284,"filename":"image_27012025_01_07_02_383320_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/feb0212260cd89447533a5e8fe03a08a.jpg","text":"TemporaryFile(/tmp/multipartBody7672884806523748523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737938247284,"filename":"image_27012025_01_07_02_383320_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/cd1f38c6f8ea87110b8acb0b1f47ce1d.jpg","text":"TemporaryFile(/tmp/multipartBody7281897741972227989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737938247284,"filename":"image_27012025_01_08_02_890389_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/e463872efba93b3e5204e1c6b9f8f1eb.jpg","text":"TemporaryFile(/tmp/multipartBody8297459008006457767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737938247284,"filename":"image_27012025_01_07_02_383320_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331816635","file1":"1331816569","file0":"1331816551","file4":"1331816815","file5":"1331816819","file3":"1331816736"},"map_files_photo_id_array":[{"photo_id":"1331816819","filename":"file5"},{"photo_id":"1331816635","filename":"file2"},{"photo_id":"1331816815","filename":"file4"},{"photo_id":"1331816569","filename":"file1"},{"photo_id":"1331816551","filename":"file0"},{"photo_id":"1331816736","filename":"file3"}],"portfolio_id":19942284,"hashtag_by_photo_ids":[{"1331816819":["hashtag1","hashtag2"]},{"1331816551":["hashtag1","hashtag2"]},{"1331816569":["hashtag1","hashtag2"]},{"1331816635":["hashtag1","hashtag2"]},{"1331816815":["hashtag1","hashtag2"]},{"1331816736":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942284 used, photo_id : ArrayBuffer(1331816819, 1331816551, 1331816569, 1331816635, 1331816815, 1331816736)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 106.75970673561096 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-27 01:37:22.682425
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/01/08/image_27012025_01_08_02_890389_0002.jpg', '/home/pi/Desktop/images/27012025/01/08/image_27012025_01_08_02_890389_0003.jpg', '/home/pi/Desktop/images/27012025/01/09/image_27012025_01_09_02_492235_0000.jpg', '/home/pi/Desktop/images/27012025/01/09/image_27012025_01_09_02_492235_0001.jpg', '/home/pi/Desktop/images/27012025/01/09/image_27012025_01_09_02_492235_0002.jpg', '/home/pi/Desktop/images/27012025/01/09/image_27012025_01_09_02_492235_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/01/08/image_27012025_01_08_02_890389_0002.jpg
/home/pi/Desktop/images/27012025/01/08/image_27012025_01_08_02_890389_0003.jpg
/home/pi/Desktop/images/27012025/01/09/image_27012025_01_09_02_492235_0000.jpg
/home/pi/Desktop/images/27012025/01/09/image_27012025_01_09_02_492235_0001.jpg
/home/pi/Desktop/images/27012025/01/09/image_27012025_01_09_02_492235_0002.jpg
/home/pi/Desktop/images/27012025/01/09/image_27012025_01_09_02_492235_0003.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331817084","1331817087","1331817081","1331817095","1331817098","1331817091"],"photo_ids_order":["1331817081","1331817084","1331817087","1331817091","1331817095","1331817098"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/59d9c0d66af83e68772918c3e18e6829.jpg","text":"TemporaryFile(/tmp/multipartBody699146876693608740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737938367337,"filename":"image_27012025_01_08_02_890389_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/233bfc12fc15bc17babf28a5b7a3366f.jpg","text":"TemporaryFile(/tmp/multipartBody904853733030640908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737938367337,"filename":"image_27012025_01_09_02_492235_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/b0831d1469fc185303b199288a6a8f48.jpg","text":"TemporaryFile(/tmp/multipartBody3796683332140546117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737938367337,"filename":"image_27012025_01_08_02_890389_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/a99c6d68ae25e09fbe087ea8c8ae0e41.jpg","text":"TemporaryFile(/tmp/multipartBody721983220276737889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737938367337,"filename":"image_27012025_01_09_02_492235_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/c69565904475bc5da3aa81e3845e6790.jpg","text":"TemporaryFile(/tmp/multipartBody4674603826197873411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737938367337,"filename":"image_27012025_01_09_02_492235_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/d3aacd15bd4810a87d75fe91f8c48fc1.jpg","text":"TemporaryFile(/tmp/multipartBody330011129384494067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737938367337,"filename":"image_27012025_01_09_02_492235_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331817087","file1":"1331817084","file0":"1331817081","file4":"1331817095","file5":"1331817098","file3":"1331817091"},"map_files_photo_id_array":[{"photo_id":"1331817098","filename":"file5"},{"photo_id":"1331817087","filename":"file2"},{"photo_id":"1331817095","filename":"file4"},{"photo_id":"1331817084","filename":"file1"},{"photo_id":"1331817081","filename":"file0"},{"photo_id":"1331817091","filename":"file3"}],"portfolio_id":19942284,"hashtag_by_photo_ids":[{"1331817084":["hashtag1","hashtag2"]},{"1331817087":["hashtag1","hashtag2"]},{"1331817081":["hashtag1","hashtag2"]},{"1331817095":["hashtag1","hashtag2"]},{"1331817098":["hashtag1","hashtag2"]},{"1331817091":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942284 used, photo_id : ArrayBuffer(1331817084, 1331817087, 1331817081, 1331817095, 1331817098, 1331817091)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 103.91313171386719 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-27 01:39:21.747956
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/01/10/image_27012025_01_10_03_067761_0000.jpg', '/home/pi/Desktop/images/27012025/01/10/image_27012025_01_10_03_067761_0001.jpg', '/home/pi/Desktop/images/27012025/01/10/image_27012025_01_10_03_067761_0003.jpg', '/home/pi/Desktop/images/27012025/01/11/image_27012025_01_11_02_575045_0001.jpg', '/home/pi/Desktop/images/27012025/01/11/image_27012025_01_11_02_575045_0002.jpg', '/home/pi/Desktop/images/27012025/01/11/image_27012025_01_11_02_575045_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/01/10/image_27012025_01_10_03_067761_0000.jpg
/home/pi/Desktop/images/27012025/01/10/image_27012025_01_10_03_067761_0001.jpg
/home/pi/Desktop/images/27012025/01/10/image_27012025_01_10_03_067761_0003.jpg
/home/pi/Desktop/images/27012025/01/11/image_27012025_01_11_02_575045_0001.jpg
/home/pi/Desktop/images/27012025/01/11/image_27012025_01_11_02_575045_0002.jpg
/home/pi/Desktop/images/27012025/01/11/image_27012025_01_11_02_575045_0003.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331817142","1331817415","1331817294","1331817261","1331817183","1331817354"],"photo_ids_order":["1331817142","1331817183","1331817261","1331817294","1331817354","1331817415"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/9b65e1c26eca92d6c86b4e1770760a6a.jpg","text":"TemporaryFile(/tmp/multipartBody5795541167839954545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737938486312,"filename":"image_27012025_01_10_03_067761_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/1bee052932b907576e3bd459997239f2.jpg","text":"TemporaryFile(/tmp/multipartBody1456252276303870299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737938486312,"filename":"image_27012025_01_11_02_575045_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/9ecb8dbf8ee14c60d0440c848224d2af.jpg","text":"TemporaryFile(/tmp/multipartBody1561931343683841695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737938486312,"filename":"image_27012025_01_11_02_575045_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/06aa21266a1aaf182ec2339e5e4ade01.jpg","text":"TemporaryFile(/tmp/multipartBody1782484823904269125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737938486312,"filename":"image_27012025_01_10_03_067761_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/2616a13ebb5f3ad1afeb035504af6c6d.jpg","text":"TemporaryFile(/tmp/multipartBody1851693569567906350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737938486312,"filename":"image_27012025_01_10_03_067761_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/e8ebd26046c0462c4fde8d13dea464b4.jpg","text":"TemporaryFile(/tmp/multipartBody4754492740268824467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737938486312,"filename":"image_27012025_01_11_02_575045_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331817261","file1":"1331817183","file0":"1331817142","file4":"1331817354","file5":"1331817415","file3":"1331817294"},"map_files_photo_id_array":[{"photo_id":"1331817415","filename":"file5"},{"photo_id":"1331817261","filename":"file2"},{"photo_id":"1331817354","filename":"file4"},{"photo_id":"1331817183","filename":"file1"},{"photo_id":"1331817142","filename":"file0"},{"photo_id":"1331817294","filename":"file3"}],"portfolio_id":19942284,"hashtag_by_photo_ids":[{"1331817142":["hashtag1","hashtag2"]},{"1331817415":["hashtag1","hashtag2"]},{"1331817294":["hashtag1","hashtag2"]},{"1331817261":["hashtag1","hashtag2"]},{"1331817183":["hashtag1","hashtag2"]},{"1331817354":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942284 used, photo_id : ArrayBuffer(1331817142, 1331817415, 1331817294, 1331817261, 1331817183, 1331817354)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 104.34037327766418 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-27 01:41:21.800325
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/01/12/image_27012025_01_12_02_180191_0000.jpg', '/home/pi/Desktop/images/27012025/01/12/image_27012025_01_12_02_180191_0001.jpg', '/home/pi/Desktop/images/27012025/01/12/image_27012025_01_12_02_180191_0002.jpg', '/home/pi/Desktop/images/27012025/01/13/image_27012025_01_13_02_737013_0001.jpg', '/home/pi/Desktop/images/27012025/01/13/image_27012025_01_13_02_737013_0003.jpg', '/home/pi/Desktop/images/27012025/01/14/image_27012025_01_14_02_235745_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/01/12/image_27012025_01_12_02_180191_0000.jpg
/home/pi/Desktop/images/27012025/01/12/image_27012025_01_12_02_180191_0001.jpg
/home/pi/Desktop/images/27012025/01/12/image_27012025_01_12_02_180191_0002.jpg
/home/pi/Desktop/images/27012025/01/13/image_27012025_01_13_02_737013_0001.jpg
/home/pi/Desktop/images/27012025/01/13/image_27012025_01_13_02_737013_0003.jpg
/home/pi/Desktop/images/27012025/01/14/image_27012025_01_14_02_235745_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331817532","1331817540","1331817522","1331817527","1331817536","1331817518"],"photo_ids_order":["1331817518","1331817522","1331817527","1331817532","1331817536","1331817540"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/749411f8ea4356b1de8b1e15142b0322.jpg","text":"TemporaryFile(/tmp/multipartBody622876278036243139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737938606408,"filename":"image_27012025_01_13_02_737013_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/62613590a71eb2fdeeb692deacb1fe40.jpg","text":"TemporaryFile(/tmp/multipartBody7162271261489706918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737938606408,"filename":"image_27012025_01_14_02_235745_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/ed141ebad4d1a1e8731e7b4c4ba77ac5.jpg","text":"TemporaryFile(/tmp/multipartBody7083711980153577878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737938606408,"filename":"image_27012025_01_12_02_180191_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/ea4d193bbd26bde519693fcf01e25aae.jpg","text":"TemporaryFile(/tmp/multipartBody2540021794149413829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737938606408,"filename":"image_27012025_01_12_02_180191_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/a62fcf3735989d170835e809f9aa69bd.jpg","text":"TemporaryFile(/tmp/multipartBody5575592775298664887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737938606408,"filename":"image_27012025_01_13_02_737013_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/1f58712b4e830f289090a2d032872c43.jpg","text":"TemporaryFile(/tmp/multipartBody6595775942966000055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737938606408,"filename":"image_27012025_01_12_02_180191_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331817527","file1":"1331817522","file0":"1331817518","file4":"1331817536","file5":"1331817540","file3":"1331817532"},"map_files_photo_id_array":[{"photo_id":"1331817540","filename":"file5"},{"photo_id":"1331817527","filename":"file2"},{"photo_id":"1331817536","filename":"file4"},{"photo_id":"1331817522","filename":"file1"},{"photo_id":"1331817518","filename":"file0"},{"photo_id":"1331817532","filename":"file3"}],"portfolio_id":19942284,"hashtag_by_photo_ids":[{"1331817532":["hashtag1","hashtag2"]},{"1331817540":["hashtag1","hashtag2"]},{"1331817522":["hashtag1","hashtag2"]},{"1331817527":["hashtag1","hashtag2"]},{"1331817536":["hashtag1","hashtag2"]},{"1331817518":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942284 used, photo_id : ArrayBuffer(1331817532, 1331817540, 1331817522, 1331817527, 1331817536, 1331817518)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 105.19523334503174 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-27 01:43:21.776915
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/01/14/image_27012025_01_14_02_235745_0001.jpg', '/home/pi/Desktop/images/27012025/01/14/image_27012025_01_14_02_235745_0003.jpg', '/home/pi/Desktop/images/27012025/01/15/image_27012025_01_15_02_749729_0000.jpg', '/home/pi/Desktop/images/27012025/01/15/image_27012025_01_15_02_749729_0002.jpg', '/home/pi/Desktop/images/27012025/01/15/image_27012025_01_15_02_749729_0003.jpg', '/home/pi/Desktop/images/27012025/01/16/image_27012025_01_16_02_261208_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/01/14/image_27012025_01_14_02_235745_0001.jpg
/home/pi/Desktop/images/27012025/01/14/image_27012025_01_14_02_235745_0003.jpg
/home/pi/Desktop/images/27012025/01/15/image_27012025_01_15_02_749729_0000.jpg
/home/pi/Desktop/images/27012025/01/15/image_27012025_01_15_02_749729_0002.jpg
/home/pi/Desktop/images/27012025/01/15/image_27012025_01_15_02_749729_0003.jpg
/home/pi/Desktop/images/27012025/01/16/image_27012025_01_16_02_261208_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331817597","1331817604","1331817618","1331817599","1331817614","1331817608"],"photo_ids_order":["1331817597","1331817599","1331817604","1331817608","1331817614","1331817618"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/5ec1bb5d5b49e01902b4f19b970c55e1.jpg","text":"TemporaryFile(/tmp/multipartBody7350735015208624731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737938726521,"filename":"image_27012025_01_14_02_235745_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/92ebccdda53f5e03417ab23961402cff.jpg","text":"TemporaryFile(/tmp/multipartBody6638519704017853257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737938726521,"filename":"image_27012025_01_15_02_749729_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/f789db4716e989b8defb42e347e0957f.jpg","text":"TemporaryFile(/tmp/multipartBody2488986733919865067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737938726521,"filename":"image_27012025_01_16_02_261208_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/e109698256f64c4e683cdec46be088f0.jpg","text":"TemporaryFile(/tmp/multipartBody3450223867051769770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737938726521,"filename":"image_27012025_01_14_02_235745_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/81570d8c33e99bcc4ace05ed00009110.jpg","text":"TemporaryFile(/tmp/multipartBody7415324365809326996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737938726521,"filename":"image_27012025_01_15_02_749729_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/43ab0a85e728e6f4c03a405ed81d15aa.jpg","text":"TemporaryFile(/tmp/multipartBody600363323379163685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737938726521,"filename":"image_27012025_01_15_02_749729_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331817604","file1":"1331817599","file0":"1331817597","file4":"1331817614","file5":"1331817618","file3":"1331817608"},"map_files_photo_id_array":[{"photo_id":"1331817618","filename":"file5"},{"photo_id":"1331817604","filename":"file2"},{"photo_id":"1331817614","filename":"file4"},{"photo_id":"1331817599","filename":"file1"},{"photo_id":"1331817597","filename":"file0"},{"photo_id":"1331817608","filename":"file3"}],"portfolio_id":19942284,"hashtag_by_photo_ids":[{"1331817597":["hashtag1","hashtag2"]},{"1331817604":["hashtag1","hashtag2"]},{"1331817618":["hashtag1","hashtag2"]},{"1331817599":["hashtag1","hashtag2"]},{"1331817614":["hashtag1","hashtag2"]},{"1331817608":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942284 used, photo_id : ArrayBuffer(1331817597, 1331817604, 1331817618, 1331817599, 1331817614, 1331817608)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 105.08869457244873 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-27 01:45:21.826448
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/01/16/image_27012025_01_16_02_261208_0002.jpg', '/home/pi/Desktop/images/27012025/01/16/image_27012025_01_16_02_261208_0003.jpg', '/home/pi/Desktop/images/27012025/01/17/image_27012025_01_17_02_722934_0000.jpg', '/home/pi/Desktop/images/27012025/01/17/image_27012025_01_17_02_722934_0001.jpg', '/home/pi/Desktop/images/27012025/01/17/image_27012025_01_17_02_722934_0002.jpg', '/home/pi/Desktop/images/27012025/01/18/image_27012025_01_18_02_225585_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/01/16/image_27012025_01_16_02_261208_0002.jpg
/home/pi/Desktop/images/27012025/01/16/image_27012025_01_16_02_261208_0003.jpg
/home/pi/Desktop/images/27012025/01/17/image_27012025_01_17_02_722934_0000.jpg
/home/pi/Desktop/images/27012025/01/17/image_27012025_01_17_02_722934_0001.jpg
/home/pi/Desktop/images/27012025/01/17/image_27012025_01_17_02_722934_0002.jpg
/home/pi/Desktop/images/27012025/01/18/image_27012025_01_18_02_225585_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331817783","1331817802","1331817794","1331817807","1331817785","1331817790"],"photo_ids_order":["1331817783","1331817785","1331817790","1331817794","1331817802","1331817807"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/e2a6fd99ae8037178c2ad218625fedea.jpg","text":"TemporaryFile(/tmp/multipartBody5010991675534414830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737938846454,"filename":"image_27012025_01_16_02_261208_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/6c0554c60308708e25debe23b76d8fe4.jpg","text":"TemporaryFile(/tmp/multipartBody5742947689957536748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737938846454,"filename":"image_27012025_01_17_02_722934_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/dfb0ed51ed557dbeeb7d8b0e86c588eb.jpg","text":"TemporaryFile(/tmp/multipartBody5991369132098385512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737938846454,"filename":"image_27012025_01_17_02_722934_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/31c358dd81068ef0bb19ed8293fedc5b.jpg","text":"TemporaryFile(/tmp/multipartBody4591759596035064287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737938846454,"filename":"image_27012025_01_18_02_225585_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/8010058f47e8439a5dfb541916987af6.jpg","text":"TemporaryFile(/tmp/multipartBody8524696935826849731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737938846454,"filename":"image_27012025_01_16_02_261208_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/927a3b168211f56ab703c89c323e4cb2.jpg","text":"TemporaryFile(/tmp/multipartBody879263034623167342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737938846454,"filename":"image_27012025_01_17_02_722934_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331817790","file1":"1331817785","file0":"1331817783","file4":"1331817802","file5":"1331817807","file3":"1331817794"},"map_files_photo_id_array":[{"photo_id":"1331817807","filename":"file5"},{"photo_id":"1331817790","filename":"file2"},{"photo_id":"1331817802","filename":"file4"},{"photo_id":"1331817785","filename":"file1"},{"photo_id":"1331817783","filename":"file0"},{"photo_id":"1331817794","filename":"file3"}],"portfolio_id":19942284,"hashtag_by_photo_ids":[{"1331817783":["hashtag1","hashtag2"]},{"1331817802":["hashtag1","hashtag2"]},{"1331817794":["hashtag1","hashtag2"]},{"1331817807":["hashtag1","hashtag2"]},{"1331817785":["hashtag1","hashtag2"]},{"1331817790":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942284 used, photo_id : ArrayBuffer(1331817783, 1331817802, 1331817794, 1331817807, 1331817785, 1331817790)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 105.64747023582458 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-27 01:47:21.771565
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/01/18/image_27012025_01_18_02_225585_0001.jpg', '/home/pi/Desktop/images/27012025/01/18/image_27012025_01_18_02_225585_0002.jpg', '/home/pi/Desktop/images/27012025/01/18/image_27012025_01_18_02_225585_0003.jpg', '/home/pi/Desktop/images/27012025/01/19/image_27012025_01_19_02_807007_0000.jpg', '/home/pi/Desktop/images/27012025/01/19/image_27012025_01_19_02_807007_0001.jpg', '/home/pi/Desktop/images/27012025/01/19/image_27012025_01_19_02_807007_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/01/18/image_27012025_01_18_02_225585_0001.jpg
/home/pi/Desktop/images/27012025/01/18/image_27012025_01_18_02_225585_0002.jpg
/home/pi/Desktop/images/27012025/01/18/image_27012025_01_18_02_225585_0003.jpg
/home/pi/Desktop/images/27012025/01/19/image_27012025_01_19_02_807007_0000.jpg
/home/pi/Desktop/images/27012025/01/19/image_27012025_01_19_02_807007_0001.jpg
/home/pi/Desktop/images/27012025/01/19/image_27012025_01_19_02_807007_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331817841","1331817844","1331817849","1331817918","1331817947","1331817964"],"photo_ids_order":["1331817841","1331817844","1331817849","1331817918","1331817947","1331817964"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/6785aaea440af61130a7d647b7eb7da8.jpg","text":"TemporaryFile(/tmp/multipartBody7210228890559895870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737938966388,"filename":"image_27012025_01_18_02_225585_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/323bbd3a809bbc5170ce2e3c64795c4a.jpg","text":"TemporaryFile(/tmp/multipartBody4141265856451181669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737938966388,"filename":"image_27012025_01_18_02_225585_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/5974a05813467d3beb7d486048198471.jpg","text":"TemporaryFile(/tmp/multipartBody8575024707699215642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737938966388,"filename":"image_27012025_01_18_02_225585_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/734a6d439b7cb6fd7916d9a5aa963ede.jpg","text":"TemporaryFile(/tmp/multipartBody5292982575705766806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737938966388,"filename":"image_27012025_01_19_02_807007_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/f22b10e2d1ee32f4e9e9f9326b030af5.jpg","text":"TemporaryFile(/tmp/multipartBody1608141115544798828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737938966388,"filename":"image_27012025_01_19_02_807007_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/24323a0bc37c829ba3f6bd99a7e8f8a3.jpg","text":"TemporaryFile(/tmp/multipartBody3821290637679054409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737938966388,"filename":"image_27012025_01_19_02_807007_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331817849","file1":"1331817844","file0":"1331817841","file4":"1331817947","file5":"1331817964","file3":"1331817918"},"map_files_photo_id_array":[{"photo_id":"1331817964","filename":"file5"},{"photo_id":"1331817849","filename":"file2"},{"photo_id":"1331817947","filename":"file4"},{"photo_id":"1331817844","filename":"file1"},{"photo_id":"1331817841","filename":"file0"},{"photo_id":"1331817918","filename":"file3"}],"portfolio_id":19942284,"hashtag_by_photo_ids":[{"1331817841":["hashtag1","hashtag2"]},{"1331817844":["hashtag1","hashtag2"]},{"1331817849":["hashtag1","hashtag2"]},{"1331817918":["hashtag1","hashtag2"]},{"1331817947":["hashtag1","hashtag2"]},{"1331817964":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942284 used, photo_id : ArrayBuffer(1331817841, 1331817844, 1331817849, 1331817918, 1331817947, 1331817964)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 103.9538733959198 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-27 01:49:21.852583
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/01/19/image_27012025_01_19_02_807007_0003.jpg', '/home/pi/Desktop/images/27012025/01/20/image_27012025_01_20_02_389774_0000.jpg', '/home/pi/Desktop/images/27012025/01/20/image_27012025_01_20_02_389774_0001.jpg', '/home/pi/Desktop/images/27012025/01/20/image_27012025_01_20_02_389774_0002.jpg', '/home/pi/Desktop/images/27012025/01/20/image_27012025_01_20_02_389774_0003.jpg', '/home/pi/Desktop/images/27012025/01/21/image_27012025_01_21_02_907158_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/01/19/image_27012025_01_19_02_807007_0003.jpg
/home/pi/Desktop/images/27012025/01/20/image_27012025_01_20_02_389774_0000.jpg
/home/pi/Desktop/images/27012025/01/20/image_27012025_01_20_02_389774_0001.jpg
/home/pi/Desktop/images/27012025/01/20/image_27012025_01_20_02_389774_0002.jpg
/home/pi/Desktop/images/27012025/01/20/image_27012025_01_20_02_389774_0003.jpg
/home/pi/Desktop/images/27012025/01/21/image_27012025_01_21_02_907158_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331819186","1331819015","1331819338","1331819317","1331819190","1331819116"],"photo_ids_order":["1331819015","1331819116","1331819186","1331819190","1331819317","1331819338"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/b6aa404084bdd9eb22d29e314a707b33.jpg","text":"TemporaryFile(/tmp/multipartBody6752512514113630947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737939086414,"filename":"image_27012025_01_20_02_389774_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/ef11f7ccd0405a968574c5d085e8f977.jpg","text":"TemporaryFile(/tmp/multipartBody23592831457695046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737939086414,"filename":"image_27012025_01_19_02_807007_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/032af2421c2dd19b50c102398e8f03a7.jpg","text":"TemporaryFile(/tmp/multipartBody4675952579732034358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737939086414,"filename":"image_27012025_01_21_02_907158_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/f0eaa38ae67e5ce3b0d28fbcacdc7769.jpg","text":"TemporaryFile(/tmp/multipartBody9124517733494329561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737939086414,"filename":"image_27012025_01_20_02_389774_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/f35a2d5be0fdce49d278318aeae0ae3d.jpg","text":"TemporaryFile(/tmp/multipartBody1664617885220089384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737939086414,"filename":"image_27012025_01_20_02_389774_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/0562e2c831617e22c657a70bc43185f0.jpg","text":"TemporaryFile(/tmp/multipartBody5580007935781545095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737939086414,"filename":"image_27012025_01_20_02_389774_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331819186","file1":"1331819116","file0":"1331819015","file4":"1331819317","file5":"1331819338","file3":"1331819190"},"map_files_photo_id_array":[{"photo_id":"1331819338","filename":"file5"},{"photo_id":"1331819186","filename":"file2"},{"photo_id":"1331819317","filename":"file4"},{"photo_id":"1331819116","filename":"file1"},{"photo_id":"1331819015","filename":"file0"},{"photo_id":"1331819190","filename":"file3"}],"portfolio_id":19942284,"hashtag_by_photo_ids":[{"1331819186":["hashtag1","hashtag2"]},{"1331819015":["hashtag1","hashtag2"]},{"1331819338":["hashtag1","hashtag2"]},{"1331819317":["hashtag1","hashtag2"]},{"1331819190":["hashtag1","hashtag2"]},{"1331819116":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942284 used, photo_id : ArrayBuffer(1331819186, 1331819015, 1331819338, 1331819317, 1331819190, 1331819116)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 104.04853773117065 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-27 01:51:21.944544
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/01/22/image_27012025_01_22_02_489991_0000.jpg', '/home/pi/Desktop/images/27012025/01/22/image_27012025_01_22_02_489991_0001.jpg', '/home/pi/Desktop/images/27012025/01/22/image_27012025_01_22_02_489991_0002.jpg', '/home/pi/Desktop/images/27012025/01/22/image_27012025_01_22_02_489991_0003.jpg', '/home/pi/Desktop/images/27012025/01/23/image_27012025_01_23_03_091540_0000.jpg', '/home/pi/Desktop/images/27012025/01/23/image_27012025_01_23_03_091540_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/01/22/image_27012025_01_22_02_489991_0000.jpg
/home/pi/Desktop/images/27012025/01/22/image_27012025_01_22_02_489991_0001.jpg
/home/pi/Desktop/images/27012025/01/22/image_27012025_01_22_02_489991_0002.jpg
/home/pi/Desktop/images/27012025/01/22/image_27012025_01_22_02_489991_0003.jpg
/home/pi/Desktop/images/27012025/01/23/image_27012025_01_23_03_091540_0000.jpg
/home/pi/Desktop/images/27012025/01/23/image_27012025_01_23_03_091540_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331819747","1331819735","1331819720","1331819752","1331819731","1331819740"],"photo_ids_order":["1331819720","1331819731","1331819735","1331819740","1331819747","1331819752"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/01736347dd1741ad87dd57d05fb9328c.jpg","text":"TemporaryFile(/tmp/multipartBody376006364101394311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737939206531,"filename":"image_27012025_01_23_03_091540_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/bee2c0b175aa6b0f560411099c990b24.jpg","text":"TemporaryFile(/tmp/multipartBody8472875020292782147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737939206531,"filename":"image_27012025_01_22_02_489991_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/9a3e26acdc0053bdabc0991e6b71ea17.jpg","text":"TemporaryFile(/tmp/multipartBody6549986009675552217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737939206531,"filename":"image_27012025_01_22_02_489991_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/2f741ab2bb9d0ee51edcf6bacc6d22a5.jpg","text":"TemporaryFile(/tmp/multipartBody7764491632574699899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737939206531,"filename":"image_27012025_01_23_03_091540_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/9cc1a93403e76ae80c74cc7fc0a0b8e9.jpg","text":"TemporaryFile(/tmp/multipartBody7804464168789533911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737939206531,"filename":"image_27012025_01_22_02_489991_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/da07c8771d29a2577f1e78c333b103aa.jpg","text":"TemporaryFile(/tmp/multipartBody1149730694333934665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737939206531,"filename":"image_27012025_01_22_02_489991_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331819735","file1":"1331819731","file0":"1331819720","file4":"1331819747","file5":"1331819752","file3":"1331819740"},"map_files_photo_id_array":[{"photo_id":"1331819752","filename":"file5"},{"photo_id":"1331819735","filename":"file2"},{"photo_id":"1331819747","filename":"file4"},{"photo_id":"1331819731","filename":"file1"},{"photo_id":"1331819720","filename":"file0"},{"photo_id":"1331819740","filename":"file3"}],"portfolio_id":19942284,"hashtag_by_photo_ids":[{"1331819747":["hashtag1","hashtag2"]},{"1331819735":["hashtag1","hashtag2"]},{"1331819720":["hashtag1","hashtag2"]},{"1331819752":["hashtag1","hashtag2"]},{"1331819731":["hashtag1","hashtag2"]},{"1331819740":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942284 used, photo_id : ArrayBuffer(1331819747, 1331819735, 1331819720, 1331819752, 1331819731, 1331819740)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 105.04143333435059 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-27 01:53:21.964971
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/01/23/image_27012025_01_23_03_091540_0002.jpg', '/home/pi/Desktop/images/27012025/01/23/image_27012025_01_23_03_091540_0003.jpg', '/home/pi/Desktop/images/27012025/01/24/image_27012025_01_24_02_585921_0000.jpg', '/home/pi/Desktop/images/27012025/01/24/image_27012025_01_24_02_585921_0001.jpg', '/home/pi/Desktop/images/27012025/01/24/image_27012025_01_24_02_585921_0002.jpg', '/home/pi/Desktop/images/27012025/01/25/image_27012025_01_25_02_181271_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/01/23/image_27012025_01_23_03_091540_0002.jpg
/home/pi/Desktop/images/27012025/01/23/image_27012025_01_23_03_091540_0003.jpg
/home/pi/Desktop/images/27012025/01/24/image_27012025_01_24_02_585921_0000.jpg
/home/pi/Desktop/images/27012025/01/24/image_27012025_01_24_02_585921_0001.jpg
/home/pi/Desktop/images/27012025/01/24/image_27012025_01_24_02_585921_0002.jpg
/home/pi/Desktop/images/27012025/01/25/image_27012025_01_25_02_181271_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331819775","1331819798","1331819786","1331819791","1331819782","1331819776"],"photo_ids_order":["1331819775","1331819776","1331819782","1331819786","1331819791","1331819798"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/9f0583579dc7d9e0d2183183e3106dad.jpg","text":"TemporaryFile(/tmp/multipartBody4539536730052103432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737939326089,"filename":"image_27012025_01_23_03_091540_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/7009bc1bc89c5902ce907b014a54d6fd.jpg","text":"TemporaryFile(/tmp/multipartBody8669165894418894535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737939326089,"filename":"image_27012025_01_25_02_181271_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/1eba8641c8e162e41fe794e7661f4b78.jpg","text":"TemporaryFile(/tmp/multipartBody5681695639846994540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737939326089,"filename":"image_27012025_01_24_02_585921_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/fadad313d93938ec83134d511e06b774.jpg","text":"TemporaryFile(/tmp/multipartBody525979471684259982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737939326089,"filename":"image_27012025_01_24_02_585921_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/2ac3eb532c90424047bd4e7c929ae1ab.jpg","text":"TemporaryFile(/tmp/multipartBody5072182763036056882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737939326089,"filename":"image_27012025_01_24_02_585921_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/4769ffc1967d2caca0e552b5575c6cc3.jpg","text":"TemporaryFile(/tmp/multipartBody8945496430384143122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737939326089,"filename":"image_27012025_01_23_03_091540_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331819782","file1":"1331819776","file0":"1331819775","file4":"1331819791","file5":"1331819798","file3":"1331819786"},"map_files_photo_id_array":[{"photo_id":"1331819798","filename":"file5"},{"photo_id":"1331819782","filename":"file2"},{"photo_id":"1331819791","filename":"file4"},{"photo_id":"1331819776","filename":"file1"},{"photo_id":"1331819775","filename":"file0"},{"photo_id":"1331819786","filename":"file3"}],"portfolio_id":19942284,"hashtag_by_photo_ids":[{"1331819775":["hashtag1","hashtag2"]},{"1331819798":["hashtag1","hashtag2"]},{"1331819786":["hashtag1","hashtag2"]},{"1331819791":["hashtag1","hashtag2"]},{"1331819782":["hashtag1","hashtag2"]},{"1331819776":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942284 used, photo_id : ArrayBuffer(1331819775, 1331819798, 1331819786, 1331819791, 1331819782, 1331819776)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 103.38902640342712 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-27 01:55:21.924137
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/01/25/image_27012025_01_25_02_181271_0001.jpg', '/home/pi/Desktop/images/27012025/01/25/image_27012025_01_25_02_181271_0002.jpg', '/home/pi/Desktop/images/27012025/01/25/image_27012025_01_25_02_181271_0003.jpg', '/home/pi/Desktop/images/27012025/01/26/image_27012025_01_26_02_682098_0000.jpg', '/home/pi/Desktop/images/27012025/01/26/image_27012025_01_26_02_682098_0001.jpg', '/home/pi/Desktop/images/27012025/01/26/image_27012025_01_26_02_682098_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/01/25/image_27012025_01_25_02_181271_0001.jpg
/home/pi/Desktop/images/27012025/01/25/image_27012025_01_25_02_181271_0002.jpg
/home/pi/Desktop/images/27012025/01/25/image_27012025_01_25_02_181271_0003.jpg
/home/pi/Desktop/images/27012025/01/26/image_27012025_01_26_02_682098_0000.jpg
/home/pi/Desktop/images/27012025/01/26/image_27012025_01_26_02_682098_0001.jpg
/home/pi/Desktop/images/27012025/01/26/image_27012025_01_26_02_682098_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331820010","1331820021","1331820000","1331820014","1331820002","1331820005"],"photo_ids_order":["1331820000","1331820002","1331820005","1331820010","1331820014","1331820021"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/fcc6cba973c63e3f1a7adca6b69894ca.jpg","text":"TemporaryFile(/tmp/multipartBody4480628614671830835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737939442635,"filename":"image_27012025_01_26_02_682098_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/c61d5416b32c37f3188048ecfb0be09b.jpg","text":"TemporaryFile(/tmp/multipartBody3271745429032540399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737939442635,"filename":"image_27012025_01_26_02_682098_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/03c58373fa55f93de0b1af9593e86323.jpg","text":"TemporaryFile(/tmp/multipartBody3335361693739386150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737939442635,"filename":"image_27012025_01_25_02_181271_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/666ede9f2a76e31bb6cbf93b73fe69a8.jpg","text":"TemporaryFile(/tmp/multipartBody2415562292995828484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737939442635,"filename":"image_27012025_01_26_02_682098_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/d22bffb00a59faa28316f46decb1cb75.jpg","text":"TemporaryFile(/tmp/multipartBody2914913724073122635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737939442635,"filename":"image_27012025_01_25_02_181271_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/07e2261247c4b5f0dc8098cb8b1c5b7f.jpg","text":"TemporaryFile(/tmp/multipartBody2491726853529377088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737939442635,"filename":"image_27012025_01_25_02_181271_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331820005","file1":"1331820002","file0":"1331820000","file4":"1331820014","file5":"1331820021","file3":"1331820010"},"map_files_photo_id_array":[{"photo_id":"1331820021","filename":"file5"},{"photo_id":"1331820005","filename":"file2"},{"photo_id":"1331820014","filename":"file4"},{"photo_id":"1331820002","filename":"file1"},{"photo_id":"1331820000","filename":"file0"},{"photo_id":"1331820010","filename":"file3"}],"portfolio_id":19942284,"hashtag_by_photo_ids":[{"1331820010":["hashtag1","hashtag2"]},{"1331820021":["hashtag1","hashtag2"]},{"1331820000":["hashtag1","hashtag2"]},{"1331820014":["hashtag1","hashtag2"]},{"1331820002":["hashtag1","hashtag2"]},{"1331820005":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942284 used, photo_id : ArrayBuffer(1331820010, 1331820021, 1331820000, 1331820014, 1331820002, 1331820005)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 101.21623086929321 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-27 01:57:22.141357
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/01/26/image_27012025_01_26_02_682098_0003.jpg', '/home/pi/Desktop/images/27012025/01/27/image_27012025_01_27_02_173349_0000.jpg', '/home/pi/Desktop/images/27012025/01/27/image_27012025_01_27_02_173349_0001.jpg', '/home/pi/Desktop/images/27012025/01/27/image_27012025_01_27_02_173349_0002.jpg', '/home/pi/Desktop/images/27012025/01/27/image_27012025_01_27_02_173349_0003.jpg', '/home/pi/Desktop/images/27012025/01/28/image_27012025_01_28_02_685898_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/01/26/image_27012025_01_26_02_682098_0003.jpg
/home/pi/Desktop/images/27012025/01/27/image_27012025_01_27_02_173349_0000.jpg
/home/pi/Desktop/images/27012025/01/27/image_27012025_01_27_02_173349_0001.jpg
/home/pi/Desktop/images/27012025/01/27/image_27012025_01_27_02_173349_0002.jpg
/home/pi/Desktop/images/27012025/01/27/image_27012025_01_27_02_173349_0003.jpg
/home/pi/Desktop/images/27012025/01/28/image_27012025_01_28_02_685898_0000.jpg
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 01:59:02.433993
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/01/26/image_27012025_01_26_02_682098_0003.jpg', '/home/pi/Desktop/images/27012025/01/27/image_27012025_01_27_02_173349_0000.jpg', '/home/pi/Desktop/images/27012025/01/27/image_27012025_01_27_02_173349_0001.jpg', '/home/pi/Desktop/images/27012025/01/27/image_27012025_01_27_02_173349_0002.jpg', '/home/pi/Desktop/images/27012025/01/27/image_27012025_01_27_02_173349_0003.jpg', '/home/pi/Desktop/images/27012025/01/28/image_27012025_01_28_02_685898_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/01/26/image_27012025_01_26_02_682098_0003.jpg
/home/pi/Desktop/images/27012025/01/27/image_27012025_01_27_02_173349_0000.jpg
/home/pi/Desktop/images/27012025/01/27/image_27012025_01_27_02_173349_0001.jpg
/home/pi/Desktop/images/27012025/01/27/image_27012025_01_27_02_173349_0002.jpg
/home/pi/Desktop/images/27012025/01/27/image_27012025_01_27_02_173349_0003.jpg
/home/pi/Desktop/images/27012025/01/28/image_27012025_01_28_02_685898_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 60.15963006019592 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-27 02:00:22.567219
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/01/26/image_27012025_01_26_02_682098_0003.jpg', '/home/pi/Desktop/images/27012025/01/27/image_27012025_01_27_02_173349_0000.jpg', '/home/pi/Desktop/images/27012025/01/27/image_27012025_01_27_02_173349_0001.jpg', '/home/pi/Desktop/images/27012025/01/27/image_27012025_01_27_02_173349_0002.jpg', '/home/pi/Desktop/images/27012025/01/27/image_27012025_01_27_02_173349_0003.jpg', '/home/pi/Desktop/images/27012025/01/28/image_27012025_01_28_02_685898_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/01/26/image_27012025_01_26_02_682098_0003.jpg
/home/pi/Desktop/images/27012025/01/27/image_27012025_01_27_02_173349_0000.jpg
/home/pi/Desktop/images/27012025/01/27/image_27012025_01_27_02_173349_0001.jpg
/home/pi/Desktop/images/27012025/01/27/image_27012025_01_27_02_173349_0002.jpg
/home/pi/Desktop/images/27012025/01/27/image_27012025_01_27_02_173349_0003.jpg
/home/pi/Desktop/images/27012025/01/28/image_27012025_01_28_02_685898_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331821067","1331821031","1331821081","1331821078","1331821072","1331821054"],"photo_ids_order":["1331821031","1331821054","1331821067","1331821072","1331821078","1331821081"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/f2feb49d64e7774dfdae86012504d837.jpg","text":"TemporaryFile(/tmp/multipartBody5351432339324713288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737939743034,"filename":"image_27012025_01_27_02_173349_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/1cb74938256fa0546a63c49725720dd5.jpg","text":"TemporaryFile(/tmp/multipartBody7872604001234911874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737939743034,"filename":"image_27012025_01_26_02_682098_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/1fff7ae17d6166899d5df57165aa7d2d.jpg","text":"TemporaryFile(/tmp/multipartBody4642352456170231988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737939743034,"filename":"image_27012025_01_28_02_685898_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/f49c908c36e86179dd0d119633e0ec19.jpg","text":"TemporaryFile(/tmp/multipartBody3325640595686162450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737939743034,"filename":"image_27012025_01_27_02_173349_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/0c3f72eb3c3e23e9de34d51c35005b1b.jpg","text":"TemporaryFile(/tmp/multipartBody4854907591648482417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737939743034,"filename":"image_27012025_01_27_02_173349_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/727bf7e8b3caee9f38b0705140e2fe3b.jpg","text":"TemporaryFile(/tmp/multipartBody1226578801931362585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737939743034,"filename":"image_27012025_01_27_02_173349_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331821067","file1":"1331821054","file0":"1331821031","file4":"1331821078","file5":"1331821081","file3":"1331821072"},"map_files_photo_id_array":[{"photo_id":"1331821081","filename":"file5"},{"photo_id":"1331821067","filename":"file2"},{"photo_id":"1331821078","filename":"file4"},{"photo_id":"1331821054","filename":"file1"},{"photo_id":"1331821031","filename":"file0"},{"photo_id":"1331821072","filename":"file3"}],"portfolio_id":19942284,"hashtag_by_photo_ids":[{"1331821067":["hashtag1","hashtag2"]},{"1331821031":["hashtag1","hashtag2"]},{"1331821081":["hashtag1","hashtag2"]},{"1331821078":["hashtag1","hashtag2"]},{"1331821072":["hashtag1","hashtag2"]},{"1331821054":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942284 used, photo_id : ArrayBuffer(1331821067, 1331821031, 1331821081, 1331821078, 1331821072, 1331821054)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 103.32785296440125 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-27 02:02:22.605157
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/01/28/image_27012025_01_28_02_685898_0001.jpg', '/home/pi/Desktop/images/27012025/01/28/image_27012025_01_28_02_685898_0002.jpg', '/home/pi/Desktop/images/27012025/01/28/image_27012025_01_28_02_685898_0003.jpg', '/home/pi/Desktop/images/27012025/01/29/image_27012025_01_29_02_337668_0000.jpg', '/home/pi/Desktop/images/27012025/01/29/image_27012025_01_29_02_337668_0001.jpg', '/home/pi/Desktop/images/27012025/01/29/image_27012025_01_29_02_337668_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/01/28/image_27012025_01_28_02_685898_0001.jpg
/home/pi/Desktop/images/27012025/01/28/image_27012025_01_28_02_685898_0002.jpg
/home/pi/Desktop/images/27012025/01/28/image_27012025_01_28_02_685898_0003.jpg
/home/pi/Desktop/images/27012025/01/29/image_27012025_01_29_02_337668_0000.jpg
/home/pi/Desktop/images/27012025/01/29/image_27012025_01_29_02_337668_0001.jpg
/home/pi/Desktop/images/27012025/01/29/image_27012025_01_29_02_337668_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 64.31267976760864 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 02:04:03.022131
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/01/28/image_27012025_01_28_02_685898_0001.jpg', '/home/pi/Desktop/images/27012025/01/28/image_27012025_01_28_02_685898_0002.jpg', '/home/pi/Desktop/images/27012025/01/28/image_27012025_01_28_02_685898_0003.jpg', '/home/pi/Desktop/images/27012025/01/29/image_27012025_01_29_02_337668_0000.jpg', '/home/pi/Desktop/images/27012025/01/29/image_27012025_01_29_02_337668_0001.jpg', '/home/pi/Desktop/images/27012025/01/29/image_27012025_01_29_02_337668_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/01/28/image_27012025_01_28_02_685898_0001.jpg
/home/pi/Desktop/images/27012025/01/28/image_27012025_01_28_02_685898_0002.jpg
/home/pi/Desktop/images/27012025/01/28/image_27012025_01_28_02_685898_0003.jpg
/home/pi/Desktop/images/27012025/01/29/image_27012025_01_29_02_337668_0000.jpg
/home/pi/Desktop/images/27012025/01/29/image_27012025_01_29_02_337668_0001.jpg
/home/pi/Desktop/images/27012025/01/29/image_27012025_01_29_02_337668_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 64.19420146942139 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-27 02:05:22.113187
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/01/28/image_27012025_01_28_02_685898_0001.jpg', '/home/pi/Desktop/images/27012025/01/28/image_27012025_01_28_02_685898_0002.jpg', '/home/pi/Desktop/images/27012025/01/28/image_27012025_01_28_02_685898_0003.jpg', '/home/pi/Desktop/images/27012025/01/29/image_27012025_01_29_02_337668_0000.jpg', '/home/pi/Desktop/images/27012025/01/29/image_27012025_01_29_02_337668_0001.jpg', '/home/pi/Desktop/images/27012025/01/29/image_27012025_01_29_02_337668_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/01/28/image_27012025_01_28_02_685898_0001.jpg
/home/pi/Desktop/images/27012025/01/28/image_27012025_01_28_02_685898_0002.jpg
/home/pi/Desktop/images/27012025/01/28/image_27012025_01_28_02_685898_0003.jpg
/home/pi/Desktop/images/27012025/01/29/image_27012025_01_29_02_337668_0000.jpg
/home/pi/Desktop/images/27012025/01/29/image_27012025_01_29_02_337668_0001.jpg
/home/pi/Desktop/images/27012025/01/29/image_27012025_01_29_02_337668_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331822301","1331822297","1331822293","1331822314","1331822308","1331822289"],"photo_ids_order":["1331822289","1331822293","1331822297","1331822301","1331822308","1331822314"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/7e8cd319b8cd6e9f7ac0b1b2ce80879e.jpg","text":"TemporaryFile(/tmp/multipartBody5318279218873729036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737940046507,"filename":"image_27012025_01_29_02_337668_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/5ff66ef6f9d37124c42e17fdc96d4ebd.jpg","text":"TemporaryFile(/tmp/multipartBody6536575681704784755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737940046507,"filename":"image_27012025_01_28_02_685898_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/594a088baaa330e946afc4235ef9eae6.jpg","text":"TemporaryFile(/tmp/multipartBody4881831671960143592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737940046507,"filename":"image_27012025_01_28_02_685898_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/9594c9cdf01fa48fbfc3ac243d8397a9.jpg","text":"TemporaryFile(/tmp/multipartBody2628003571989702060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737940046507,"filename":"image_27012025_01_29_02_337668_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/f514dc6b0336c01c8388f1eb21de2bd1.jpg","text":"TemporaryFile(/tmp/multipartBody8923763046094201705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737940046507,"filename":"image_27012025_01_29_02_337668_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/78d376cf34f13474da0bac983c4fb35e.jpg","text":"TemporaryFile(/tmp/multipartBody1270052232175563447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737940046507,"filename":"image_27012025_01_28_02_685898_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331822297","file1":"1331822293","file0":"1331822289","file4":"1331822308","file5":"1331822314","file3":"1331822301"},"map_files_photo_id_array":[{"photo_id":"1331822314","filename":"file5"},{"photo_id":"1331822297","filename":"file2"},{"photo_id":"1331822308","filename":"file4"},{"photo_id":"1331822293","filename":"file1"},{"photo_id":"1331822289","filename":"file0"},{"photo_id":"1331822301","filename":"file3"}],"portfolio_id":19942284,"hashtag_by_photo_ids":[{"1331822301":["hashtag1","hashtag2"]},{"1331822297":["hashtag1","hashtag2"]},{"1331822293":["hashtag1","hashtag2"]},{"1331822314":["hashtag1","hashtag2"]},{"1331822308":["hashtag1","hashtag2"]},{"1331822289":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942284 used, photo_id : ArrayBuffer(1331822301, 1331822297, 1331822293, 1331822314, 1331822308, 1331822289)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 104.8573522567749 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-27 02:07:22.096675
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/01/29/image_27012025_01_29_02_337668_0003.jpg', '/home/pi/Desktop/images/27012025/01/30/image_27012025_01_30_02_906101_0000.jpg', '/home/pi/Desktop/images/27012025/01/30/image_27012025_01_30_02_906101_0001.jpg', '/home/pi/Desktop/images/27012025/01/30/image_27012025_01_30_02_906101_0002.jpg', '/home/pi/Desktop/images/27012025/01/30/image_27012025_01_30_02_906101_0003.jpg', '/home/pi/Desktop/images/27012025/01/31/image_27012025_01_31_02_411922_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/01/29/image_27012025_01_29_02_337668_0003.jpg
/home/pi/Desktop/images/27012025/01/30/image_27012025_01_30_02_906101_0000.jpg
/home/pi/Desktop/images/27012025/01/30/image_27012025_01_30_02_906101_0001.jpg
/home/pi/Desktop/images/27012025/01/30/image_27012025_01_30_02_906101_0002.jpg
/home/pi/Desktop/images/27012025/01/30/image_27012025_01_30_02_906101_0003.jpg
/home/pi/Desktop/images/27012025/01/31/image_27012025_01_31_02_411922_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331822400","1331822387","1331822378","1331822383","1331822392","1331822397"],"photo_ids_order":["1331822378","1331822383","1331822387","1331822392","1331822397","1331822400"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/a57271da1739b82ed9f3d5335bdca82a.jpg","text":"TemporaryFile(/tmp/multipartBody2833886362967659426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737940167484,"filename":"image_27012025_01_31_02_411922_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/78bd24cdbff31b97041e97d1c0cfb89f.jpg","text":"TemporaryFile(/tmp/multipartBody5759886410276491298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737940167484,"filename":"image_27012025_01_30_02_906101_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/6b96ad88291a907af617a7bb242d1d3c.jpg","text":"TemporaryFile(/tmp/multipartBody4993854255302978459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737940167484,"filename":"image_27012025_01_29_02_337668_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/f6cbfb8cd2fb64a5e5342594d14f159f.jpg","text":"TemporaryFile(/tmp/multipartBody2254963604583201594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737940167484,"filename":"image_27012025_01_30_02_906101_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/5439c300702b38980a8f4b1eb72bd4e3.jpg","text":"TemporaryFile(/tmp/multipartBody5247184511827245747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737940167484,"filename":"image_27012025_01_30_02_906101_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/e28b64d4e129ab221f18c313ed06075b.jpg","text":"TemporaryFile(/tmp/multipartBody1916235408297372044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737940167484,"filename":"image_27012025_01_30_02_906101_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331822387","file1":"1331822383","file0":"1331822378","file4":"1331822397","file5":"1331822400","file3":"1331822392"},"map_files_photo_id_array":[{"photo_id":"1331822400","filename":"file5"},{"photo_id":"1331822387","filename":"file2"},{"photo_id":"1331822397","filename":"file4"},{"photo_id":"1331822383","filename":"file1"},{"photo_id":"1331822378","filename":"file0"},{"photo_id":"1331822392","filename":"file3"}],"portfolio_id":19942284,"hashtag_by_photo_ids":[{"1331822400":["hashtag1","hashtag2"]},{"1331822387":["hashtag1","hashtag2"]},{"1331822378":["hashtag1","hashtag2"]},{"1331822383":["hashtag1","hashtag2"]},{"1331822392":["hashtag1","hashtag2"]},{"1331822397":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942284 used, photo_id : ArrayBuffer(1331822400, 1331822387, 1331822378, 1331822383, 1331822392, 1331822397)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 105.09000778198242 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-27 02:09:22.139229
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/01/31/image_27012025_01_31_02_411922_0001.jpg', '/home/pi/Desktop/images/27012025/01/31/image_27012025_01_31_02_411922_0002.jpg', '/home/pi/Desktop/images/27012025/01/31/image_27012025_01_31_02_411922_0003.jpg', '/home/pi/Desktop/images/27012025/01/32/image_27012025_01_32_02_916358_0000.jpg', '/home/pi/Desktop/images/27012025/01/32/image_27012025_01_32_02_916358_0001.jpg', '/home/pi/Desktop/images/27012025/01/32/image_27012025_01_32_02_916358_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/01/31/image_27012025_01_31_02_411922_0001.jpg
/home/pi/Desktop/images/27012025/01/31/image_27012025_01_31_02_411922_0002.jpg
/home/pi/Desktop/images/27012025/01/31/image_27012025_01_31_02_411922_0003.jpg
/home/pi/Desktop/images/27012025/01/32/image_27012025_01_32_02_916358_0000.jpg
/home/pi/Desktop/images/27012025/01/32/image_27012025_01_32_02_916358_0001.jpg
/home/pi/Desktop/images/27012025/01/32/image_27012025_01_32_02_916358_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331823011","1331822957","1331822953","1331822866","1331823051","1331822994"],"photo_ids_order":["1331822866","1331822953","1331822957","1331822994","1331823011","1331823051"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/6a074cc36f13482b213e860f9f04e990.jpg","text":"TemporaryFile(/tmp/multipartBody5888595123907897983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737940288429,"filename":"image_27012025_01_32_02_916358_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/cb443578a6618c94b1f180d492813611.jpg","text":"TemporaryFile(/tmp/multipartBody385450591330889001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737940288429,"filename":"image_27012025_01_31_02_411922_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/385ed02135a04258afd809b5c6bce429.jpg","text":"TemporaryFile(/tmp/multipartBody7484640644048266289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737940288429,"filename":"image_27012025_01_31_02_411922_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/b713d6cc9dd03a476e4fca864541f344.jpg","text":"TemporaryFile(/tmp/multipartBody228823186063932327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737940288429,"filename":"image_27012025_01_31_02_411922_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/72ae51a998d8924054175b79767cb9f8.jpg","text":"TemporaryFile(/tmp/multipartBody6896000566606167224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737940288429,"filename":"image_27012025_01_32_02_916358_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/937553b76e6d1138f8ea42bddd1c2d26.jpg","text":"TemporaryFile(/tmp/multipartBody6770747773238873129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737940288429,"filename":"image_27012025_01_32_02_916358_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331822957","file1":"1331822953","file0":"1331822866","file4":"1331823011","file5":"1331823051","file3":"1331822994"},"map_files_photo_id_array":[{"photo_id":"1331823051","filename":"file5"},{"photo_id":"1331822957","filename":"file2"},{"photo_id":"1331823011","filename":"file4"},{"photo_id":"1331822953","filename":"file1"},{"photo_id":"1331822866","filename":"file0"},{"photo_id":"1331822994","filename":"file3"}],"portfolio_id":19942284,"hashtag_by_photo_ids":[{"1331823011":["hashtag1","hashtag2"]},{"1331822957":["hashtag1","hashtag2"]},{"1331822953":["hashtag1","hashtag2"]},{"1331822866":["hashtag1","hashtag2"]},{"1331823051":["hashtag1","hashtag2"]},{"1331822994":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942284 used, photo_id : ArrayBuffer(1331823011, 1331822957, 1331822953, 1331822866, 1331823051, 1331822994)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 107.00657677650452 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-27 02:11:22.183238
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/01/32/image_27012025_01_32_02_916358_0003.jpg', '/home/pi/Desktop/images/27012025/01/33/image_27012025_01_33_02_389142_0000.jpg', '/home/pi/Desktop/images/27012025/01/33/image_27012025_01_33_02_389142_0001.jpg', '/home/pi/Desktop/images/27012025/01/33/image_27012025_01_33_02_389142_0002.jpg', '/home/pi/Desktop/images/27012025/01/33/image_27012025_01_33_02_389142_0003.jpg', '/home/pi/Desktop/images/27012025/01/34/image_27012025_01_34_02_874330_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/01/32/image_27012025_01_32_02_916358_0003.jpg
/home/pi/Desktop/images/27012025/01/33/image_27012025_01_33_02_389142_0000.jpg
/home/pi/Desktop/images/27012025/01/33/image_27012025_01_33_02_389142_0001.jpg
/home/pi/Desktop/images/27012025/01/33/image_27012025_01_33_02_389142_0002.jpg
/home/pi/Desktop/images/27012025/01/33/image_27012025_01_33_02_389142_0003.jpg
/home/pi/Desktop/images/27012025/01/34/image_27012025_01_34_02_874330_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331823077","1331823082","1331823084","1331823078","1331823086","1331823080"],"photo_ids_order":["1331823077","1331823078","1331823080","1331823082","1331823084","1331823086"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/5d24190c9d0020e621345cff01014d0f.jpg","text":"TemporaryFile(/tmp/multipartBody6380935608672847994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737940407606,"filename":"image_27012025_01_32_02_916358_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/de3b7d934087c81c9a4ce70f2462261c.jpg","text":"TemporaryFile(/tmp/multipartBody8977204550188909657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737940407606,"filename":"image_27012025_01_33_02_389142_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/f79f186599d09e43d0840990e52444a7.jpg","text":"TemporaryFile(/tmp/multipartBody4548341776987420887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737940407606,"filename":"image_27012025_01_33_02_389142_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/293ba6334acc1b38901979c4b20508ed.jpg","text":"TemporaryFile(/tmp/multipartBody148251314935870960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737940407606,"filename":"image_27012025_01_33_02_389142_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/102b89f4f04d2eb7c15c084f87dd027c.jpg","text":"TemporaryFile(/tmp/multipartBody2441665084336734140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737940407606,"filename":"image_27012025_01_34_02_874330_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/328c14bc0979232dbd46aee2760c8048.jpg","text":"TemporaryFile(/tmp/multipartBody8683950811491230446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737940407606,"filename":"image_27012025_01_33_02_389142_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331823080","file1":"1331823078","file0":"1331823077","file4":"1331823084","file5":"1331823086","file3":"1331823082"},"map_files_photo_id_array":[{"photo_id":"1331823086","filename":"file5"},{"photo_id":"1331823080","filename":"file2"},{"photo_id":"1331823084","filename":"file4"},{"photo_id":"1331823078","filename":"file1"},{"photo_id":"1331823077","filename":"file0"},{"photo_id":"1331823082","filename":"file3"}],"portfolio_id":19942284,"hashtag_by_photo_ids":[{"1331823077":["hashtag1","hashtag2"]},{"1331823082":["hashtag1","hashtag2"]},{"1331823084":["hashtag1","hashtag2"]},{"1331823078":["hashtag1","hashtag2"]},{"1331823086":["hashtag1","hashtag2"]},{"1331823080":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942284 used, photo_id : ArrayBuffer(1331823077, 1331823082, 1331823084, 1331823078, 1331823086, 1331823080)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 104.62399911880493 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-27 02:13:22.192084
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/01/34/image_27012025_01_34_02_874330_0001.jpg', '/home/pi/Desktop/images/27012025/01/34/image_27012025_01_34_02_874330_0002.jpg', '/home/pi/Desktop/images/27012025/01/34/image_27012025_01_34_02_874330_0003.jpg', '/home/pi/Desktop/images/27012025/01/35/image_27012025_01_35_02_449996_0000.jpg', '/home/pi/Desktop/images/27012025/01/35/image_27012025_01_35_02_449996_0001.jpg', '/home/pi/Desktop/images/27012025/01/35/image_27012025_01_35_02_449996_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/01/34/image_27012025_01_34_02_874330_0001.jpg
/home/pi/Desktop/images/27012025/01/34/image_27012025_01_34_02_874330_0002.jpg
/home/pi/Desktop/images/27012025/01/34/image_27012025_01_34_02_874330_0003.jpg
/home/pi/Desktop/images/27012025/01/35/image_27012025_01_35_02_449996_0000.jpg
/home/pi/Desktop/images/27012025/01/35/image_27012025_01_35_02_449996_0001.jpg
/home/pi/Desktop/images/27012025/01/35/image_27012025_01_35_02_449996_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331823176","1331823170","1331823166","1331823160","1331823163","1331823173"],"photo_ids_order":["1331823160","1331823163","1331823166","1331823170","1331823173","1331823176"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/df2934347786892a7b4c243bf75d7084.jpg","text":"TemporaryFile(/tmp/multipartBody853327788528006982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737940527355,"filename":"image_27012025_01_35_02_449996_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/bbdc9f1ef3fa594f3dac3d9703fc79a4.jpg","text":"TemporaryFile(/tmp/multipartBody6656973946415479061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737940527355,"filename":"image_27012025_01_35_02_449996_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/c1cf7e7c63c76009f00cacbe7d9d805b.jpg","text":"TemporaryFile(/tmp/multipartBody2538858279207245771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737940527355,"filename":"image_27012025_01_34_02_874330_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/4da87faadd0f676d682413a237b6a88b.jpg","text":"TemporaryFile(/tmp/multipartBody3594239334911079748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737940527355,"filename":"image_27012025_01_34_02_874330_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/d84074fdd52131aef46bcdc48b08b802.jpg","text":"TemporaryFile(/tmp/multipartBody955016635413501247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737940527355,"filename":"image_27012025_01_34_02_874330_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/c417893bd144727ce22c786d11ca6073.jpg","text":"TemporaryFile(/tmp/multipartBody3434092887941641279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737940527355,"filename":"image_27012025_01_35_02_449996_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331823166","file1":"1331823163","file0":"1331823160","file4":"1331823173","file5":"1331823176","file3":"1331823170"},"map_files_photo_id_array":[{"photo_id":"1331823176","filename":"file5"},{"photo_id":"1331823166","filename":"file2"},{"photo_id":"1331823173","filename":"file4"},{"photo_id":"1331823163","filename":"file1"},{"photo_id":"1331823160","filename":"file0"},{"photo_id":"1331823170","filename":"file3"}],"portfolio_id":19942284,"hashtag_by_photo_ids":[{"1331823176":["hashtag1","hashtag2"]},{"1331823170":["hashtag1","hashtag2"]},{"1331823166":["hashtag1","hashtag2"]},{"1331823160":["hashtag1","hashtag2"]},{"1331823163":["hashtag1","hashtag2"]},{"1331823173":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942284 used, photo_id : ArrayBuffer(1331823176, 1331823170, 1331823166, 1331823160, 1331823163, 1331823173)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 107.25470638275146 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-27 02:15:22.315944
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/01/35/image_27012025_01_35_02_449996_0003.jpg', '/home/pi/Desktop/images/27012025/01/36/image_27012025_01_36_03_064307_0000.jpg', '/home/pi/Desktop/images/27012025/01/36/image_27012025_01_36_03_064307_0001.jpg', '/home/pi/Desktop/images/27012025/01/36/image_27012025_01_36_03_064307_0002.jpg', '/home/pi/Desktop/images/27012025/01/36/image_27012025_01_36_03_064307_0003.jpg', '/home/pi/Desktop/images/27012025/01/37/image_27012025_01_37_02_567914_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/01/35/image_27012025_01_35_02_449996_0003.jpg
/home/pi/Desktop/images/27012025/01/36/image_27012025_01_36_03_064307_0000.jpg
/home/pi/Desktop/images/27012025/01/36/image_27012025_01_36_03_064307_0001.jpg
/home/pi/Desktop/images/27012025/01/36/image_27012025_01_36_03_064307_0002.jpg
/home/pi/Desktop/images/27012025/01/36/image_27012025_01_36_03_064307_0003.jpg
/home/pi/Desktop/images/27012025/01/37/image_27012025_01_37_02_567914_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331823719","1331823678","1331823681","1331823714","1331823723","1331823794"],"photo_ids_order":["1331823678","1331823681","1331823714","1331823719","1331823723","1331823794"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/a46192d227ff28b5dd0a0f5dc09006d7.jpg","text":"TemporaryFile(/tmp/multipartBody1358924403739861962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737940647893,"filename":"image_27012025_01_36_03_064307_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/2365ae7640e994844af1574561b38205.jpg","text":"TemporaryFile(/tmp/multipartBody3066169600856096903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737940647893,"filename":"image_27012025_01_35_02_449996_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/461a1c734236bf06f598a956e1732cef.jpg","text":"TemporaryFile(/tmp/multipartBody1673117370802859333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737940647893,"filename":"image_27012025_01_36_03_064307_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/6aad46b85b675fe9cee283aedcdc953e.jpg","text":"TemporaryFile(/tmp/multipartBody4319091636548326682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737940647893,"filename":"image_27012025_01_36_03_064307_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/bd99041e1ff4bc888a0712365d79bdc3.jpg","text":"TemporaryFile(/tmp/multipartBody4671213733085408837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737940647893,"filename":"image_27012025_01_36_03_064307_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/508f8e2dbac9e0bcc444caabdaf7d588.jpg","text":"TemporaryFile(/tmp/multipartBody2656591041047941636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737940647893,"filename":"image_27012025_01_37_02_567914_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331823714","file1":"1331823681","file0":"1331823678","file4":"1331823723","file5":"1331823794","file3":"1331823719"},"map_files_photo_id_array":[{"photo_id":"1331823794","filename":"file5"},{"photo_id":"1331823714","filename":"file2"},{"photo_id":"1331823723","filename":"file4"},{"photo_id":"1331823681","filename":"file1"},{"photo_id":"1331823678","filename":"file0"},{"photo_id":"1331823719","filename":"file3"}],"portfolio_id":19942284,"hashtag_by_photo_ids":[{"1331823719":["hashtag1","hashtag2"]},{"1331823678":["hashtag1","hashtag2"]},{"1331823681":["hashtag1","hashtag2"]},{"1331823714":["hashtag1","hashtag2"]},{"1331823723":["hashtag1","hashtag2"]},{"1331823794":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942284 used, photo_id : ArrayBuffer(1331823719, 1331823678, 1331823681, 1331823714, 1331823723, 1331823794)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 105.8644917011261 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-27 02:17:22.390450
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/01/37/image_27012025_01_37_02_567914_0001.jpg', '/home/pi/Desktop/images/27012025/01/37/image_27012025_01_37_02_567914_0002.jpg', '/home/pi/Desktop/images/27012025/01/37/image_27012025_01_37_02_567914_0003.jpg', '/home/pi/Desktop/images/27012025/01/38/image_27012025_01_38_03_096526_0000.jpg', '/home/pi/Desktop/images/27012025/01/38/image_27012025_01_38_03_096526_0001.jpg', '/home/pi/Desktop/images/27012025/01/38/image_27012025_01_38_03_096526_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/01/37/image_27012025_01_37_02_567914_0001.jpg
/home/pi/Desktop/images/27012025/01/37/image_27012025_01_37_02_567914_0002.jpg
/home/pi/Desktop/images/27012025/01/37/image_27012025_01_37_02_567914_0003.jpg
/home/pi/Desktop/images/27012025/01/38/image_27012025_01_38_03_096526_0000.jpg
/home/pi/Desktop/images/27012025/01/38/image_27012025_01_38_03_096526_0001.jpg
/home/pi/Desktop/images/27012025/01/38/image_27012025_01_38_03_096526_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331823845","1331823841","1331823835","1331823850","1331823838","1331823854"],"photo_ids_order":["1331823835","1331823838","1331823841","1331823845","1331823850","1331823854"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/d401a414a9252218b026e7c12545abff.jpg","text":"TemporaryFile(/tmp/multipartBody7495097939905872746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737940767223,"filename":"image_27012025_01_38_03_096526_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/b300c74bc883551fa129ddd2892b12f4.jpg","text":"TemporaryFile(/tmp/multipartBody5257788012318128623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737940767223,"filename":"image_27012025_01_37_02_567914_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/e56a010cde08aa7893f041841cc31c82.jpg","text":"TemporaryFile(/tmp/multipartBody3135273329206652456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737940767223,"filename":"image_27012025_01_37_02_567914_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/7da1fc9310b16169a44cd719da6f2a7f.jpg","text":"TemporaryFile(/tmp/multipartBody1794919504442091617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737940767223,"filename":"image_27012025_01_38_03_096526_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/435a9848352f6e7e02d5e72a485b52e6.jpg","text":"TemporaryFile(/tmp/multipartBody448671038877750187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737940767223,"filename":"image_27012025_01_37_02_567914_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/18eb1f50e0416e070fb97a9f9f3a2879.jpg","text":"TemporaryFile(/tmp/multipartBody6495092390215774307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737940767223,"filename":"image_27012025_01_38_03_096526_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331823841","file1":"1331823838","file0":"1331823835","file4":"1331823850","file5":"1331823854","file3":"1331823845"},"map_files_photo_id_array":[{"photo_id":"1331823854","filename":"file5"},{"photo_id":"1331823841","filename":"file2"},{"photo_id":"1331823850","filename":"file4"},{"photo_id":"1331823838","filename":"file1"},{"photo_id":"1331823835","filename":"file0"},{"photo_id":"1331823845","filename":"file3"}],"portfolio_id":19942284,"hashtag_by_photo_ids":[{"1331823845":["hashtag1","hashtag2"]},{"1331823841":["hashtag1","hashtag2"]},{"1331823835":["hashtag1","hashtag2"]},{"1331823850":["hashtag1","hashtag2"]},{"1331823838":["hashtag1","hashtag2"]},{"1331823854":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942284 used, photo_id : ArrayBuffer(1331823845, 1331823841, 1331823835, 1331823850, 1331823838, 1331823854)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 104.66706705093384 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-27 02:19:22.426342
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/01/38/image_27012025_01_38_03_096526_0003.jpg', '/home/pi/Desktop/images/27012025/01/39/image_27012025_01_39_02_611195_0000.jpg', '/home/pi/Desktop/images/27012025/01/39/image_27012025_01_39_02_611195_0001.jpg', '/home/pi/Desktop/images/27012025/01/39/image_27012025_01_39_02_611195_0002.jpg', '/home/pi/Desktop/images/27012025/01/39/image_27012025_01_39_02_611195_0003.jpg', '/home/pi/Desktop/images/27012025/01/40/image_27012025_01_40_02_150889_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/01/38/image_27012025_01_38_03_096526_0003.jpg
/home/pi/Desktop/images/27012025/01/39/image_27012025_01_39_02_611195_0000.jpg
/home/pi/Desktop/images/27012025/01/39/image_27012025_01_39_02_611195_0001.jpg
/home/pi/Desktop/images/27012025/01/39/image_27012025_01_39_02_611195_0002.jpg
/home/pi/Desktop/images/27012025/01/39/image_27012025_01_39_02_611195_0003.jpg
/home/pi/Desktop/images/27012025/01/40/image_27012025_01_40_02_150889_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331824417","1331824692","1331824015","1331824006","1331823981","1331824134"],"photo_ids_order":["1331823981","1331824006","1331824015","1331824134","1331824417","1331824692"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/45a678a01173d07c3af74b5d5d2ccd0a.jpg","text":"TemporaryFile(/tmp/multipartBody4345922381241876045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737940887131,"filename":"image_27012025_01_39_02_611195_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/92f6c95d030728092169e7ddaed13a14.jpg","text":"TemporaryFile(/tmp/multipartBody7980144366602992500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737940887131,"filename":"image_27012025_01_40_02_150889_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/b1d3d7ed0178e85693f4e082b6defcd2.jpg","text":"TemporaryFile(/tmp/multipartBody7120370772069339611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737940887131,"filename":"image_27012025_01_39_02_611195_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/d226fc556e6165417da73b6271094c0b.jpg","text":"TemporaryFile(/tmp/multipartBody2449733526622798434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737940887131,"filename":"image_27012025_01_39_02_611195_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/6e376a9f16ac8363fd160da0dd9fe0e4.jpg","text":"TemporaryFile(/tmp/multipartBody3883998542144166896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737940887131,"filename":"image_27012025_01_38_03_096526_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/26a9b9d9ff4362447ba923d1a87d21f0.jpg","text":"TemporaryFile(/tmp/multipartBody4471968307040548070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737940887131,"filename":"image_27012025_01_39_02_611195_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331824015","file1":"1331824006","file0":"1331823981","file4":"1331824417","file5":"1331824692","file3":"1331824134"},"map_files_photo_id_array":[{"photo_id":"1331824692","filename":"file5"},{"photo_id":"1331824015","filename":"file2"},{"photo_id":"1331824417","filename":"file4"},{"photo_id":"1331824006","filename":"file1"},{"photo_id":"1331823981","filename":"file0"},{"photo_id":"1331824134","filename":"file3"}],"portfolio_id":19942284,"hashtag_by_photo_ids":[{"1331824417":["hashtag1","hashtag2"]},{"1331824692":["hashtag1","hashtag2"]},{"1331824015":["hashtag1","hashtag2"]},{"1331824006":["hashtag1","hashtag2"]},{"1331823981":["hashtag1","hashtag2"]},{"1331824134":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942284 used, photo_id : ArrayBuffer(1331824417, 1331824692, 1331824015, 1331824006, 1331823981, 1331824134)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 104.16319298744202 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-27 02:21:22.432646
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/01/40/image_27012025_01_40_02_150889_0001.jpg', '/home/pi/Desktop/images/27012025/01/40/image_27012025_01_40_02_150889_0002.jpg', '/home/pi/Desktop/images/27012025/01/40/image_27012025_01_40_02_150889_0003.jpg', '/home/pi/Desktop/images/27012025/01/41/image_27012025_01_41_02_652830_0000.jpg', '/home/pi/Desktop/images/27012025/01/41/image_27012025_01_41_02_652830_0001.jpg', '/home/pi/Desktop/images/27012025/01/41/image_27012025_01_41_02_652830_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/01/40/image_27012025_01_40_02_150889_0001.jpg
/home/pi/Desktop/images/27012025/01/40/image_27012025_01_40_02_150889_0002.jpg
/home/pi/Desktop/images/27012025/01/40/image_27012025_01_40_02_150889_0003.jpg
/home/pi/Desktop/images/27012025/01/41/image_27012025_01_41_02_652830_0000.jpg
/home/pi/Desktop/images/27012025/01/41/image_27012025_01_41_02_652830_0001.jpg
/home/pi/Desktop/images/27012025/01/41/image_27012025_01_41_02_652830_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331825341","1331825332","1331825352","1331825346","1331825337","1331825304"],"photo_ids_order":["1331825304","1331825332","1331825337","1331825341","1331825346","1331825352"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/321353ae9bf03a85da91c3f77e908c66.jpg","text":"TemporaryFile(/tmp/multipartBody8800704287735385246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737941006411,"filename":"image_27012025_01_41_02_652830_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/8dafaa81041d17d14388a3da5cf7bb35.jpg","text":"TemporaryFile(/tmp/multipartBody997539714981192187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737941006411,"filename":"image_27012025_01_40_02_150889_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/4ada258ac5762eaf7c9b6090ff73b44e.jpg","text":"TemporaryFile(/tmp/multipartBody1654382707669599989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737941006411,"filename":"image_27012025_01_41_02_652830_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/5d2a724ea13ad667f560860be13e3d04.jpg","text":"TemporaryFile(/tmp/multipartBody7900077136308643703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737941006411,"filename":"image_27012025_01_41_02_652830_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/aa065b9c445d5a671da24da484b47897.jpg","text":"TemporaryFile(/tmp/multipartBody6974197815556410765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737941006411,"filename":"image_27012025_01_40_02_150889_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/9d75917a678a6e6b28a03564d1d386c8.jpg","text":"TemporaryFile(/tmp/multipartBody905127196521039449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737941006411,"filename":"image_27012025_01_40_02_150889_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331825337","file1":"1331825332","file0":"1331825304","file4":"1331825346","file5":"1331825352","file3":"1331825341"},"map_files_photo_id_array":[{"photo_id":"1331825352","filename":"file5"},{"photo_id":"1331825337","filename":"file2"},{"photo_id":"1331825346","filename":"file4"},{"photo_id":"1331825332","filename":"file1"},{"photo_id":"1331825304","filename":"file0"},{"photo_id":"1331825341","filename":"file3"}],"portfolio_id":19942284,"hashtag_by_photo_ids":[{"1331825341":["hashtag1","hashtag2"]},{"1331825332":["hashtag1","hashtag2"]},{"1331825352":["hashtag1","hashtag2"]},{"1331825346":["hashtag1","hashtag2"]},{"1331825337":["hashtag1","hashtag2"]},{"1331825304":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942284 used, photo_id : ArrayBuffer(1331825341, 1331825332, 1331825352, 1331825346, 1331825337, 1331825304)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 104.9894015789032 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-27 02:23:22.448449
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/01/41/image_27012025_01_41_02_652830_0003.jpg', '/home/pi/Desktop/images/27012025/01/42/image_27012025_01_42_02_144938_0000.jpg', '/home/pi/Desktop/images/27012025/01/42/image_27012025_01_42_02_144938_0001.jpg', '/home/pi/Desktop/images/27012025/01/42/image_27012025_01_42_02_144938_0002.jpg', '/home/pi/Desktop/images/27012025/01/42/image_27012025_01_42_02_144938_0003.jpg', '/home/pi/Desktop/images/27012025/01/43/image_27012025_01_43_02_670229_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/01/41/image_27012025_01_41_02_652830_0003.jpg
/home/pi/Desktop/images/27012025/01/42/image_27012025_01_42_02_144938_0000.jpg
/home/pi/Desktop/images/27012025/01/42/image_27012025_01_42_02_144938_0001.jpg
/home/pi/Desktop/images/27012025/01/42/image_27012025_01_42_02_144938_0002.jpg
/home/pi/Desktop/images/27012025/01/42/image_27012025_01_42_02_144938_0003.jpg
/home/pi/Desktop/images/27012025/01/43/image_27012025_01_43_02_670229_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331825391","1331825373","1331825387","1331825372","1331825383","1331825377"],"photo_ids_order":["1331825372","1331825373","1331825377","1331825383","1331825387","1331825391"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/5f1a56cd77467537b12f2eed7b27451f.jpg","text":"TemporaryFile(/tmp/multipartBody4152398984102222182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737941124082,"filename":"image_27012025_01_43_02_670229_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/00d0cb58c4595fe13e4b3d045b0325cc.jpg","text":"TemporaryFile(/tmp/multipartBody8099230493936381528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737941124082,"filename":"image_27012025_01_42_02_144938_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/41336bcf5883594ff8314a671b12bbaa.jpg","text":"TemporaryFile(/tmp/multipartBody7843877147558067301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737941124082,"filename":"image_27012025_01_42_02_144938_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/2d7fc350a05b0271b3978cffd4ec0773.jpg","text":"TemporaryFile(/tmp/multipartBody409283229850823720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737941124082,"filename":"image_27012025_01_41_02_652830_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/89c24275857a6bf77714c1619acc6738.jpg","text":"TemporaryFile(/tmp/multipartBody4532352638472959433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737941124082,"filename":"image_27012025_01_42_02_144938_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/5d9d1c4a0d53c3b81b8073d5e9063ddd.jpg","text":"TemporaryFile(/tmp/multipartBody5290880115288868626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737941124082,"filename":"image_27012025_01_42_02_144938_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331825377","file1":"1331825373","file0":"1331825372","file4":"1331825387","file5":"1331825391","file3":"1331825383"},"map_files_photo_id_array":[{"photo_id":"1331825391","filename":"file5"},{"photo_id":"1331825377","filename":"file2"},{"photo_id":"1331825387","filename":"file4"},{"photo_id":"1331825373","filename":"file1"},{"photo_id":"1331825372","filename":"file0"},{"photo_id":"1331825383","filename":"file3"}],"portfolio_id":19942284,"hashtag_by_photo_ids":[{"1331825391":["hashtag1","hashtag2"]},{"1331825373":["hashtag1","hashtag2"]},{"1331825387":["hashtag1","hashtag2"]},{"1331825372":["hashtag1","hashtag2"]},{"1331825383":["hashtag1","hashtag2"]},{"1331825377":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942284 used, photo_id : ArrayBuffer(1331825391, 1331825373, 1331825387, 1331825372, 1331825383, 1331825377)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 101.61312818527222 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-27 02:25:22.507899
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/01/43/image_27012025_01_43_02_670229_0001.jpg', '/home/pi/Desktop/images/27012025/01/43/image_27012025_01_43_02_670229_0002.jpg', '/home/pi/Desktop/images/27012025/01/43/image_27012025_01_43_02_670229_0003.jpg', '/home/pi/Desktop/images/27012025/01/44/image_27012025_01_44_02_136774_0000.jpg', '/home/pi/Desktop/images/27012025/01/44/image_27012025_01_44_02_136774_0001.jpg', '/home/pi/Desktop/images/27012025/01/44/image_27012025_01_44_02_136774_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/01/43/image_27012025_01_43_02_670229_0001.jpg
/home/pi/Desktop/images/27012025/01/43/image_27012025_01_43_02_670229_0002.jpg
/home/pi/Desktop/images/27012025/01/43/image_27012025_01_43_02_670229_0003.jpg
/home/pi/Desktop/images/27012025/01/44/image_27012025_01_44_02_136774_0000.jpg
/home/pi/Desktop/images/27012025/01/44/image_27012025_01_44_02_136774_0001.jpg
/home/pi/Desktop/images/27012025/01/44/image_27012025_01_44_02_136774_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331825665","1331825668","1331825749","1331825753","1331825692","1331825674"],"photo_ids_order":["1331825665","1331825668","1331825674","1331825692","1331825749","1331825753"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/e1feb2e1dfb83c6888fc57936ff3fa94.jpg","text":"TemporaryFile(/tmp/multipartBody1817230488317687049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737941245891,"filename":"image_27012025_01_43_02_670229_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/554ed3fabc49f891c444281305801031.jpg","text":"TemporaryFile(/tmp/multipartBody7057786244586303150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737941245891,"filename":"image_27012025_01_43_02_670229_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/30200af40302dec9998caa8db9431634.jpg","text":"TemporaryFile(/tmp/multipartBody7397205138061949838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737941245891,"filename":"image_27012025_01_44_02_136774_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/a81d52a1727a316a6f6f55bb8dbd847c.jpg","text":"TemporaryFile(/tmp/multipartBody7486344490730569942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737941245891,"filename":"image_27012025_01_44_02_136774_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/9c716cc1e8ca4dbdb05b8fcb48338172.jpg","text":"TemporaryFile(/tmp/multipartBody294167171554498398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737941245891,"filename":"image_27012025_01_44_02_136774_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/3fe3a5a428e22f283863ff3779368e59.jpg","text":"TemporaryFile(/tmp/multipartBody623313095143983127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737941245891,"filename":"image_27012025_01_43_02_670229_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331825674","file1":"1331825668","file0":"1331825665","file4":"1331825749","file5":"1331825753","file3":"1331825692"},"map_files_photo_id_array":[{"photo_id":"1331825753","filename":"file5"},{"photo_id":"1331825674","filename":"file2"},{"photo_id":"1331825749","filename":"file4"},{"photo_id":"1331825668","filename":"file1"},{"photo_id":"1331825665","filename":"file0"},{"photo_id":"1331825692","filename":"file3"}],"portfolio_id":19942284,"hashtag_by_photo_ids":[{"1331825665":["hashtag1","hashtag2"]},{"1331825668":["hashtag1","hashtag2"]},{"1331825749":["hashtag1","hashtag2"]},{"1331825753":["hashtag1","hashtag2"]},{"1331825692":["hashtag1","hashtag2"]},{"1331825674":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942284 used, photo_id : ArrayBuffer(1331825665, 1331825668, 1331825749, 1331825753, 1331825692, 1331825674)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 103.10652327537537 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-27 02:27:22.547535
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/01/44/image_27012025_01_44_02_136774_0003.jpg', '/home/pi/Desktop/images/27012025/01/45/image_27012025_01_45_02_625391_0000.jpg', '/home/pi/Desktop/images/27012025/01/45/image_27012025_01_45_02_625391_0001.jpg', '/home/pi/Desktop/images/27012025/01/45/image_27012025_01_45_02_625391_0002.jpg', '/home/pi/Desktop/images/27012025/01/45/image_27012025_01_45_02_625391_0003.jpg', '/home/pi/Desktop/images/27012025/01/46/image_27012025_01_46_02_147150_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/01/44/image_27012025_01_44_02_136774_0003.jpg
/home/pi/Desktop/images/27012025/01/45/image_27012025_01_45_02_625391_0000.jpg
/home/pi/Desktop/images/27012025/01/45/image_27012025_01_45_02_625391_0001.jpg
/home/pi/Desktop/images/27012025/01/45/image_27012025_01_45_02_625391_0002.jpg
/home/pi/Desktop/images/27012025/01/45/image_27012025_01_45_02_625391_0003.jpg
/home/pi/Desktop/images/27012025/01/46/image_27012025_01_46_02_147150_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331826588","1331826593","1331826596","1331826599","1331826602","1331826586"],"photo_ids_order":["1331826586","1331826588","1331826593","1331826596","1331826599","1331826602"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/2b139cfc6a82e430fd293c87d9209332.jpg","text":"TemporaryFile(/tmp/multipartBody154545907300069526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737941367262,"filename":"image_27012025_01_45_02_625391_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/103f5436ee2a511e865160b8179be062.jpg","text":"TemporaryFile(/tmp/multipartBody9172881891626192259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737941367262,"filename":"image_27012025_01_45_02_625391_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/50b7f5c14a8c492a7d68bf27007429bc.jpg","text":"TemporaryFile(/tmp/multipartBody487676020335594027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737941367262,"filename":"image_27012025_01_45_02_625391_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/f5b6b28d7e186e539f8bcff59b768fcf.jpg","text":"TemporaryFile(/tmp/multipartBody6294538694808836009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737941367262,"filename":"image_27012025_01_45_02_625391_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/e199e9064fd4cd51772370eb589337a4.jpg","text":"TemporaryFile(/tmp/multipartBody7522866264334812149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737941367262,"filename":"image_27012025_01_46_02_147150_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/4895a74d1623728dd1f6a50e69ab7a4b.jpg","text":"TemporaryFile(/tmp/multipartBody2945125912342026173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737941367262,"filename":"image_27012025_01_44_02_136774_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331826593","file1":"1331826588","file0":"1331826586","file4":"1331826599","file5":"1331826602","file3":"1331826596"},"map_files_photo_id_array":[{"photo_id":"1331826602","filename":"file5"},{"photo_id":"1331826593","filename":"file2"},{"photo_id":"1331826599","filename":"file4"},{"photo_id":"1331826588","filename":"file1"},{"photo_id":"1331826586","filename":"file0"},{"photo_id":"1331826596","filename":"file3"}],"portfolio_id":19942284,"hashtag_by_photo_ids":[{"1331826588":["hashtag1","hashtag2"]},{"1331826593":["hashtag1","hashtag2"]},{"1331826596":["hashtag1","hashtag2"]},{"1331826599":["hashtag1","hashtag2"]},{"1331826602":["hashtag1","hashtag2"]},{"1331826586":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942284 used, photo_id : ArrayBuffer(1331826588, 1331826593, 1331826596, 1331826599, 1331826602, 1331826586)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 106.77209997177124 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-27 02:29:22.664160
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/01/46/image_27012025_01_46_02_147150_0001.jpg', '/home/pi/Desktop/images/27012025/01/46/image_27012025_01_46_02_147150_0002.jpg', '/home/pi/Desktop/images/27012025/01/46/image_27012025_01_46_02_147150_0003.jpg', '/home/pi/Desktop/images/27012025/01/47/image_27012025_01_47_02_619506_0000.jpg', '/home/pi/Desktop/images/27012025/01/47/image_27012025_01_47_02_619506_0001.jpg', '/home/pi/Desktop/images/27012025/01/47/image_27012025_01_47_02_619506_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/01/46/image_27012025_01_46_02_147150_0001.jpg
/home/pi/Desktop/images/27012025/01/46/image_27012025_01_46_02_147150_0002.jpg
/home/pi/Desktop/images/27012025/01/46/image_27012025_01_46_02_147150_0003.jpg
/home/pi/Desktop/images/27012025/01/47/image_27012025_01_47_02_619506_0000.jpg
/home/pi/Desktop/images/27012025/01/47/image_27012025_01_47_02_619506_0001.jpg
/home/pi/Desktop/images/27012025/01/47/image_27012025_01_47_02_619506_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331826709","1331826759","1331826741","1331826801","1331826769","1331826655"],"photo_ids_order":["1331826655","1331826709","1331826741","1331826759","1331826769","1331826801"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/ba8067e0321383c51551c70a0eb42ce6.jpg","text":"TemporaryFile(/tmp/multipartBody7313547257797878110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737941487300,"filename":"image_27012025_01_46_02_147150_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/81ff93992ff5e515c02d5970d4c804c4.jpg","text":"TemporaryFile(/tmp/multipartBody895844988887076354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737941487300,"filename":"image_27012025_01_47_02_619506_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/a30649776b529d19b6896ab8338b8da8.jpg","text":"TemporaryFile(/tmp/multipartBody4518067363348462093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737941487300,"filename":"image_27012025_01_46_02_147150_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/2840e332b9fc1eadb9753f824596163c.jpg","text":"TemporaryFile(/tmp/multipartBody9041815620043209585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737941487300,"filename":"image_27012025_01_47_02_619506_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/c71dbaa9b9ecaf689717700be05a56c3.jpg","text":"TemporaryFile(/tmp/multipartBody2609564802808119519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737941487300,"filename":"image_27012025_01_47_02_619506_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/707de8be2f89adf08608521b24bc4122.jpg","text":"TemporaryFile(/tmp/multipartBody1547663180226899846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737941487300,"filename":"image_27012025_01_46_02_147150_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331826741","file1":"1331826709","file0":"1331826655","file4":"1331826769","file5":"1331826801","file3":"1331826759"},"map_files_photo_id_array":[{"photo_id":"1331826801","filename":"file5"},{"photo_id":"1331826741","filename":"file2"},{"photo_id":"1331826769","filename":"file4"},{"photo_id":"1331826709","filename":"file1"},{"photo_id":"1331826655","filename":"file0"},{"photo_id":"1331826759","filename":"file3"}],"portfolio_id":19942284,"hashtag_by_photo_ids":[{"1331826709":["hashtag1","hashtag2"]},{"1331826759":["hashtag1","hashtag2"]},{"1331826741":["hashtag1","hashtag2"]},{"1331826801":["hashtag1","hashtag2"]},{"1331826769":["hashtag1","hashtag2"]},{"1331826655":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942284 used, photo_id : ArrayBuffer(1331826709, 1331826759, 1331826741, 1331826801, 1331826769, 1331826655)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 109.58740329742432 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-27 02:31:22.714821
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/01/47/image_27012025_01_47_02_619506_0003.jpg', '/home/pi/Desktop/images/27012025/01/48/image_27012025_01_48_02_195213_0000.jpg', '/home/pi/Desktop/images/27012025/01/48/image_27012025_01_48_02_195213_0001.jpg', '/home/pi/Desktop/images/27012025/01/48/image_27012025_01_48_02_195213_0002.jpg', '/home/pi/Desktop/images/27012025/01/48/image_27012025_01_48_02_195213_0003.jpg', '/home/pi/Desktop/images/27012025/01/49/image_27012025_01_49_02_742662_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/01/47/image_27012025_01_47_02_619506_0003.jpg
/home/pi/Desktop/images/27012025/01/48/image_27012025_01_48_02_195213_0000.jpg
/home/pi/Desktop/images/27012025/01/48/image_27012025_01_48_02_195213_0001.jpg
/home/pi/Desktop/images/27012025/01/48/image_27012025_01_48_02_195213_0002.jpg
/home/pi/Desktop/images/27012025/01/48/image_27012025_01_48_02_195213_0003.jpg
/home/pi/Desktop/images/27012025/01/49/image_27012025_01_49_02_742662_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331826861","1331826864","1331826867","1331826875","1331826877","1331826871"],"photo_ids_order":["1331826861","1331826864","1331826867","1331826871","1331826875","1331826877"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/ebcb0453db7b1a51d752683f72f5affb.jpg","text":"TemporaryFile(/tmp/multipartBody9055605966385945688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737941607174,"filename":"image_27012025_01_47_02_619506_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/08d0fbfc8311ca56218d364c92d38474.jpg","text":"TemporaryFile(/tmp/multipartBody668134027837688608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737941607174,"filename":"image_27012025_01_48_02_195213_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/b00de9d2af887400614d553de3e30e98.jpg","text":"TemporaryFile(/tmp/multipartBody3481031038657412290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737941607174,"filename":"image_27012025_01_48_02_195213_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/fda420a857c4c1a0b4bddcfb70ecb776.jpg","text":"TemporaryFile(/tmp/multipartBody5621966446050942580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737941607174,"filename":"image_27012025_01_48_02_195213_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/a56e6d6bd92ee2ee7bc495182165455a.jpg","text":"TemporaryFile(/tmp/multipartBody1244797802323068333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737941607174,"filename":"image_27012025_01_49_02_742662_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/ac4744429b117d5f544ffb84f7f134e0.jpg","text":"TemporaryFile(/tmp/multipartBody981034849589704267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737941607174,"filename":"image_27012025_01_48_02_195213_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331826867","file1":"1331826864","file0":"1331826861","file4":"1331826875","file5":"1331826877","file3":"1331826871"},"map_files_photo_id_array":[{"photo_id":"1331826877","filename":"file5"},{"photo_id":"1331826867","filename":"file2"},{"photo_id":"1331826875","filename":"file4"},{"photo_id":"1331826864","filename":"file1"},{"photo_id":"1331826861","filename":"file0"},{"photo_id":"1331826871","filename":"file3"}],"portfolio_id":19942284,"hashtag_by_photo_ids":[{"1331826861":["hashtag1","hashtag2"]},{"1331826864":["hashtag1","hashtag2"]},{"1331826867":["hashtag1","hashtag2"]},{"1331826875":["hashtag1","hashtag2"]},{"1331826877":["hashtag1","hashtag2"]},{"1331826871":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942284 used, photo_id : ArrayBuffer(1331826861, 1331826864, 1331826867, 1331826875, 1331826877, 1331826871)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 106.91462898254395 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-27 02:33:21.841676
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/01/49/image_27012025_01_49_02_742662_0001.jpg', '/home/pi/Desktop/images/27012025/01/49/image_27012025_01_49_02_742662_0002.jpg', '/home/pi/Desktop/images/27012025/01/49/image_27012025_01_49_02_742662_0003.jpg', '/home/pi/Desktop/images/27012025/01/50/image_27012025_01_50_02_271014_0000.jpg', '/home/pi/Desktop/images/27012025/01/50/image_27012025_01_50_02_271014_0001.jpg', '/home/pi/Desktop/images/27012025/01/50/image_27012025_01_50_02_271014_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/01/49/image_27012025_01_49_02_742662_0001.jpg
/home/pi/Desktop/images/27012025/01/49/image_27012025_01_49_02_742662_0002.jpg
/home/pi/Desktop/images/27012025/01/49/image_27012025_01_49_02_742662_0003.jpg
/home/pi/Desktop/images/27012025/01/50/image_27012025_01_50_02_271014_0000.jpg
/home/pi/Desktop/images/27012025/01/50/image_27012025_01_50_02_271014_0001.jpg
/home/pi/Desktop/images/27012025/01/50/image_27012025_01_50_02_271014_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331827116","1331827721","1331827427","1331827690","1331826926","1331827723"],"photo_ids_order":["1331826926","1331827116","1331827427","1331827690","1331827721","1331827723"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/2f5d2735f4f0804f2594e31405b27b79.jpg","text":"TemporaryFile(/tmp/multipartBody2195175179638418173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737941725596,"filename":"image_27012025_01_49_02_742662_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/04ad88fac9674875fe7bccbfe976eb8f.jpg","text":"TemporaryFile(/tmp/multipartBody5418284902203325066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737941725596,"filename":"image_27012025_01_50_02_271014_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/e01acd7b416462bdf7c4b97b334baa6a.jpg","text":"TemporaryFile(/tmp/multipartBody3313645018398728322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737941725596,"filename":"image_27012025_01_49_02_742662_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/59447a1f13e121b74bb4b60ce24cf5a4.jpg","text":"TemporaryFile(/tmp/multipartBody1661086248625385158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737941725596,"filename":"image_27012025_01_50_02_271014_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/82c863f794556e2b80a720d19aa25038.jpg","text":"TemporaryFile(/tmp/multipartBody812577127686138924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737941725596,"filename":"image_27012025_01_49_02_742662_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/324a2aa1b9c1f7a9ca7c388263f587ba.jpg","text":"TemporaryFile(/tmp/multipartBody6577411075968289702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737941725596,"filename":"image_27012025_01_50_02_271014_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331827427","file1":"1331827116","file0":"1331826926","file4":"1331827721","file5":"1331827723","file3":"1331827690"},"map_files_photo_id_array":[{"photo_id":"1331827723","filename":"file5"},{"photo_id":"1331827427","filename":"file2"},{"photo_id":"1331827721","filename":"file4"},{"photo_id":"1331827116","filename":"file1"},{"photo_id":"1331826926","filename":"file0"},{"photo_id":"1331827690","filename":"file3"}],"portfolio_id":19942284,"hashtag_by_photo_ids":[{"1331827116":["hashtag1","hashtag2"]},{"1331827721":["hashtag1","hashtag2"]},{"1331827427":["hashtag1","hashtag2"]},{"1331827690":["hashtag1","hashtag2"]},{"1331826926":["hashtag1","hashtag2"]},{"1331827723":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942284 used, photo_id : ArrayBuffer(1331827116, 1331827721, 1331827427, 1331827690, 1331826926, 1331827723)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 102.68380093574524 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-27 02:35:21.785380
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/01/50/image_27012025_01_50_02_271014_0003.jpg', '/home/pi/Desktop/images/27012025/01/51/image_27012025_01_51_02_798797_0000.jpg', '/home/pi/Desktop/images/27012025/01/51/image_27012025_01_51_02_798797_0001.jpg', '/home/pi/Desktop/images/27012025/01/51/image_27012025_01_51_02_798797_0002.jpg', '/home/pi/Desktop/images/27012025/01/51/image_27012025_01_51_02_798797_0003.jpg', '/home/pi/Desktop/images/27012025/01/52/image_27012025_01_52_02_281340_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/01/50/image_27012025_01_50_02_271014_0003.jpg
/home/pi/Desktop/images/27012025/01/51/image_27012025_01_51_02_798797_0000.jpg
/home/pi/Desktop/images/27012025/01/51/image_27012025_01_51_02_798797_0001.jpg
/home/pi/Desktop/images/27012025/01/51/image_27012025_01_51_02_798797_0002.jpg
/home/pi/Desktop/images/27012025/01/51/image_27012025_01_51_02_798797_0003.jpg
/home/pi/Desktop/images/27012025/01/52/image_27012025_01_52_02_281340_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331828907","1331828897","1331828909","1331828900","1331828902","1331828905"],"photo_ids_order":["1331828897","1331828900","1331828902","1331828905","1331828907","1331828909"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/c3e6ce8b2925bceaf97aeb7c0865ee59.jpg","text":"TemporaryFile(/tmp/multipartBody5580150652535682534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737941847743,"filename":"image_27012025_01_51_02_798797_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/aefa004d8ccb9b0b67fdeaa147baee15.jpg","text":"TemporaryFile(/tmp/multipartBody2270239817291613823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737941847743,"filename":"image_27012025_01_50_02_271014_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/d914f55b865ff86fe8b4905092d02ec2.jpg","text":"TemporaryFile(/tmp/multipartBody5336070418996177407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737941847743,"filename":"image_27012025_01_52_02_281340_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/a67958142bcc414a8a9b9b2bb6a4c8d2.jpg","text":"TemporaryFile(/tmp/multipartBody8346482273761868604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737941847743,"filename":"image_27012025_01_51_02_798797_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/17fed724dae295d7b0cf647608f7fc26.jpg","text":"TemporaryFile(/tmp/multipartBody2048930593572447763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737941847743,"filename":"image_27012025_01_51_02_798797_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/ddc0492e2f79aec83ecf3382a0e11cdb.jpg","text":"TemporaryFile(/tmp/multipartBody3532981058759532463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737941847743,"filename":"image_27012025_01_51_02_798797_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331828902","file1":"1331828900","file0":"1331828897","file4":"1331828907","file5":"1331828909","file3":"1331828905"},"map_files_photo_id_array":[{"photo_id":"1331828909","filename":"file5"},{"photo_id":"1331828902","filename":"file2"},{"photo_id":"1331828907","filename":"file4"},{"photo_id":"1331828900","filename":"file1"},{"photo_id":"1331828897","filename":"file0"},{"photo_id":"1331828905","filename":"file3"}],"portfolio_id":19942284,"hashtag_by_photo_ids":[{"1331828907":["hashtag1","hashtag2"]},{"1331828897":["hashtag1","hashtag2"]},{"1331828909":["hashtag1","hashtag2"]},{"1331828900":["hashtag1","hashtag2"]},{"1331828902":["hashtag1","hashtag2"]},{"1331828905":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942284 used, photo_id : ArrayBuffer(1331828907, 1331828897, 1331828909, 1331828900, 1331828902, 1331828905)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 105.91066884994507 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-27 02:37:21.782831
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/01/52/image_27012025_01_52_02_281340_0001.jpg', '/home/pi/Desktop/images/27012025/01/52/image_27012025_01_52_02_281340_0002.jpg', '/home/pi/Desktop/images/27012025/01/52/image_27012025_01_52_02_281340_0003.jpg', '/home/pi/Desktop/images/27012025/01/53/image_27012025_01_53_02_764044_0000.jpg', '/home/pi/Desktop/images/27012025/01/53/image_27012025_01_53_02_764044_0001.jpg', '/home/pi/Desktop/images/27012025/01/53/image_27012025_01_53_02_764044_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/01/52/image_27012025_01_52_02_281340_0001.jpg
/home/pi/Desktop/images/27012025/01/52/image_27012025_01_52_02_281340_0002.jpg
/home/pi/Desktop/images/27012025/01/52/image_27012025_01_52_02_281340_0003.jpg
/home/pi/Desktop/images/27012025/01/53/image_27012025_01_53_02_764044_0000.jpg
/home/pi/Desktop/images/27012025/01/53/image_27012025_01_53_02_764044_0001.jpg
/home/pi/Desktop/images/27012025/01/53/image_27012025_01_53_02_764044_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331829722","1331829671","1331829713","1331829718","1331829726","1331829708"],"photo_ids_order":["1331829671","1331829708","1331829713","1331829718","1331829722","1331829726"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/67033efbe1c158ef8b8ea4850a0b99d9.jpg","text":"TemporaryFile(/tmp/multipartBody8113746097672947665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737941968951,"filename":"image_27012025_01_53_02_764044_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/342ee83fb70075a268c99ba08b8a8485.jpg","text":"TemporaryFile(/tmp/multipartBody4039925155851204343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737941968951,"filename":"image_27012025_01_52_02_281340_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/e0941ebe8fd7dfaf11da293bb50b0221.jpg","text":"TemporaryFile(/tmp/multipartBody2351191545115814745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737941968951,"filename":"image_27012025_01_52_02_281340_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/2b11c7634acfe379e0a2138935fcb418.jpg","text":"TemporaryFile(/tmp/multipartBody5583993440236495585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737941968951,"filename":"image_27012025_01_53_02_764044_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/8661f4dbe0e66136746846ed8119123c.jpg","text":"TemporaryFile(/tmp/multipartBody8158720511130045455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737941968951,"filename":"image_27012025_01_53_02_764044_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/fd7618be5a349aff38239a07e1fb893e.jpg","text":"TemporaryFile(/tmp/multipartBody1368184479667067230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737941968951,"filename":"image_27012025_01_52_02_281340_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331829713","file1":"1331829708","file0":"1331829671","file4":"1331829722","file5":"1331829726","file3":"1331829718"},"map_files_photo_id_array":[{"photo_id":"1331829726","filename":"file5"},{"photo_id":"1331829713","filename":"file2"},{"photo_id":"1331829722","filename":"file4"},{"photo_id":"1331829708","filename":"file1"},{"photo_id":"1331829671","filename":"file0"},{"photo_id":"1331829718","filename":"file3"}],"portfolio_id":19942284,"hashtag_by_photo_ids":[{"1331829722":["hashtag1","hashtag2"]},{"1331829671":["hashtag1","hashtag2"]},{"1331829713":["hashtag1","hashtag2"]},{"1331829718":["hashtag1","hashtag2"]},{"1331829726":["hashtag1","hashtag2"]},{"1331829708":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942284 used, photo_id : ArrayBuffer(1331829722, 1331829671, 1331829713, 1331829718, 1331829726, 1331829708)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 105.91820335388184 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-27 02:39:21.842215
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/01/53/image_27012025_01_53_02_764044_0003.jpg', '/home/pi/Desktop/images/27012025/01/54/image_27012025_01_54_02_309780_0000.jpg', '/home/pi/Desktop/images/27012025/01/54/image_27012025_01_54_02_309780_0001.jpg', '/home/pi/Desktop/images/27012025/01/54/image_27012025_01_54_02_309780_0002.jpg', '/home/pi/Desktop/images/27012025/01/54/image_27012025_01_54_02_309780_0003.jpg', '/home/pi/Desktop/images/27012025/01/55/image_27012025_01_55_02_805530_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/01/53/image_27012025_01_53_02_764044_0003.jpg
/home/pi/Desktop/images/27012025/01/54/image_27012025_01_54_02_309780_0000.jpg
/home/pi/Desktop/images/27012025/01/54/image_27012025_01_54_02_309780_0001.jpg
/home/pi/Desktop/images/27012025/01/54/image_27012025_01_54_02_309780_0002.jpg
/home/pi/Desktop/images/27012025/01/54/image_27012025_01_54_02_309780_0003.jpg
/home/pi/Desktop/images/27012025/01/55/image_27012025_01_55_02_805530_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331830289","1331830310","1331830396","1331830357","1331830398","1331830362"],"photo_ids_order":["1331830289","1331830310","1331830357","1331830362","1331830396","1331830398"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/45eaf5c59edec258959285547dc3929d.jpg","text":"TemporaryFile(/tmp/multipartBody9119977275922380394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737942087086,"filename":"image_27012025_01_53_02_764044_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/a5d9411b721de8c8153d5deae351f853.jpg","text":"TemporaryFile(/tmp/multipartBody8068836999331382472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737942087086,"filename":"image_27012025_01_54_02_309780_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/9a8f747c841e14dce7d444b9099b29d8.jpg","text":"TemporaryFile(/tmp/multipartBody7886463195981789681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737942087086,"filename":"image_27012025_01_54_02_309780_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/d00988cc4502314c202aa15fa945c57a.jpg","text":"TemporaryFile(/tmp/multipartBody5102797745222773081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737942087086,"filename":"image_27012025_01_54_02_309780_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/9f5540270c1569a80d909e5137315495.jpg","text":"TemporaryFile(/tmp/multipartBody7764946488255195858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737942087086,"filename":"image_27012025_01_55_02_805530_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/0b8887a9d0cc263bdb218be52ff186d8.jpg","text":"TemporaryFile(/tmp/multipartBody5388757836734536674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737942087086,"filename":"image_27012025_01_54_02_309780_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331830357","file1":"1331830310","file0":"1331830289","file4":"1331830396","file5":"1331830398","file3":"1331830362"},"map_files_photo_id_array":[{"photo_id":"1331830398","filename":"file5"},{"photo_id":"1331830357","filename":"file2"},{"photo_id":"1331830396","filename":"file4"},{"photo_id":"1331830310","filename":"file1"},{"photo_id":"1331830289","filename":"file0"},{"photo_id":"1331830362","filename":"file3"}],"portfolio_id":19942284,"hashtag_by_photo_ids":[{"1331830289":["hashtag1","hashtag2"]},{"1331830310":["hashtag1","hashtag2"]},{"1331830396":["hashtag1","hashtag2"]},{"1331830357":["hashtag1","hashtag2"]},{"1331830398":["hashtag1","hashtag2"]},{"1331830362":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942284 used, photo_id : ArrayBuffer(1331830289, 1331830310, 1331830396, 1331830357, 1331830398, 1331830362)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 105.96407389640808 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-27 02:41:21.949917
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/01/55/image_27012025_01_55_02_805530_0001.jpg', '/home/pi/Desktop/images/27012025/01/55/image_27012025_01_55_02_805530_0002.jpg', '/home/pi/Desktop/images/27012025/01/55/image_27012025_01_55_02_805530_0003.jpg', '/home/pi/Desktop/images/27012025/01/56/image_27012025_01_56_02_393352_0000.jpg', '/home/pi/Desktop/images/27012025/01/56/image_27012025_01_56_02_393352_0001.jpg', '/home/pi/Desktop/images/27012025/01/56/image_27012025_01_56_02_393352_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/01/55/image_27012025_01_55_02_805530_0001.jpg
/home/pi/Desktop/images/27012025/01/55/image_27012025_01_55_02_805530_0002.jpg
/home/pi/Desktop/images/27012025/01/55/image_27012025_01_55_02_805530_0003.jpg
/home/pi/Desktop/images/27012025/01/56/image_27012025_01_56_02_393352_0000.jpg
/home/pi/Desktop/images/27012025/01/56/image_27012025_01_56_02_393352_0001.jpg
/home/pi/Desktop/images/27012025/01/56/image_27012025_01_56_02_393352_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331830649","1331830634","1331830639","1331830644","1331830626","1331830629"],"photo_ids_order":["1331830626","1331830629","1331830634","1331830639","1331830644","1331830649"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/7e68ad614d387b2feee9e0caf2bf1a76.jpg","text":"TemporaryFile(/tmp/multipartBody3554055334588841356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737942206620,"filename":"image_27012025_01_56_02_393352_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/f56c1dad5f63a2d5ceefe25ff65c08de.jpg","text":"TemporaryFile(/tmp/multipartBody54902391793670534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737942206620,"filename":"image_27012025_01_55_02_805530_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/3371ca8e82dff291860869d01c95be43.jpg","text":"TemporaryFile(/tmp/multipartBody1480915465046224975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737942206620,"filename":"image_27012025_01_56_02_393352_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/36a0ff688b82b05feef44abcc8765380.jpg","text":"TemporaryFile(/tmp/multipartBody6773563233248249405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737942206620,"filename":"image_27012025_01_56_02_393352_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/b9b72dca82461b7debb59a2f4dd29c8f.jpg","text":"TemporaryFile(/tmp/multipartBody2502973606534188871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737942206620,"filename":"image_27012025_01_55_02_805530_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/29af97c0bdef43992d19642dfe59c80a.jpg","text":"TemporaryFile(/tmp/multipartBody591075236334858100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737942206620,"filename":"image_27012025_01_55_02_805530_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331830634","file1":"1331830629","file0":"1331830626","file4":"1331830644","file5":"1331830649","file3":"1331830639"},"map_files_photo_id_array":[{"photo_id":"1331830649","filename":"file5"},{"photo_id":"1331830634","filename":"file2"},{"photo_id":"1331830644","filename":"file4"},{"photo_id":"1331830629","filename":"file1"},{"photo_id":"1331830626","filename":"file0"},{"photo_id":"1331830639","filename":"file3"}],"portfolio_id":19942284,"hashtag_by_photo_ids":[{"1331830649":["hashtag1","hashtag2"]},{"1331830634":["hashtag1","hashtag2"]},{"1331830639":["hashtag1","hashtag2"]},{"1331830644":["hashtag1","hashtag2"]},{"1331830626":["hashtag1","hashtag2"]},{"1331830629":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942284 used, photo_id : ArrayBuffer(1331830649, 1331830634, 1331830639, 1331830644, 1331830626, 1331830629)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 105.06669282913208 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-27 02:43:21.889195
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/01/56/image_27012025_01_56_02_393352_0003.jpg', '/home/pi/Desktop/images/27012025/01/57/image_27012025_01_57_02_960721_0000.jpg', '/home/pi/Desktop/images/27012025/01/57/image_27012025_01_57_02_960721_0001.jpg', '/home/pi/Desktop/images/27012025/01/57/image_27012025_01_57_02_960721_0002.jpg', '/home/pi/Desktop/images/27012025/01/57/image_27012025_01_57_02_960721_0003.jpg', '/home/pi/Desktop/images/27012025/01/58/image_27012025_01_58_02_533721_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/01/56/image_27012025_01_56_02_393352_0003.jpg
/home/pi/Desktop/images/27012025/01/57/image_27012025_01_57_02_960721_0000.jpg
/home/pi/Desktop/images/27012025/01/57/image_27012025_01_57_02_960721_0001.jpg
/home/pi/Desktop/images/27012025/01/57/image_27012025_01_57_02_960721_0002.jpg
/home/pi/Desktop/images/27012025/01/57/image_27012025_01_57_02_960721_0003.jpg
/home/pi/Desktop/images/27012025/01/58/image_27012025_01_58_02_533721_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331830694","1331830706","1331830762","1331830702","1331830711","1331830697"],"photo_ids_order":["1331830694","1331830697","1331830702","1331830706","1331830711","1331830762"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/811c43548622a612a4de16400741d68f.jpg","text":"TemporaryFile(/tmp/multipartBody5190536381499798701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737942326442,"filename":"image_27012025_01_56_02_393352_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/7808f581a592e7380bcb3ae3675e29b6.jpg","text":"TemporaryFile(/tmp/multipartBody1288978642323884751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737942326442,"filename":"image_27012025_01_57_02_960721_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/82978380bd1056c236cd6b3dd2e0e82d.jpg","text":"TemporaryFile(/tmp/multipartBody7234721645978936775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737942326442,"filename":"image_27012025_01_58_02_533721_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/910871c0bd75e31caf62b3c9a6a44cd9.jpg","text":"TemporaryFile(/tmp/multipartBody5982544924240398938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737942326442,"filename":"image_27012025_01_57_02_960721_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/0236ecfe4e0869b41fab43cd6ab6dd7c.jpg","text":"TemporaryFile(/tmp/multipartBody988013216928536740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737942326442,"filename":"image_27012025_01_57_02_960721_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/00b7813378430c97165d6342453a5245.jpg","text":"TemporaryFile(/tmp/multipartBody1686689855460058306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737942326442,"filename":"image_27012025_01_57_02_960721_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331830702","file1":"1331830697","file0":"1331830694","file4":"1331830711","file5":"1331830762","file3":"1331830706"},"map_files_photo_id_array":[{"photo_id":"1331830762","filename":"file5"},{"photo_id":"1331830702","filename":"file2"},{"photo_id":"1331830711","filename":"file4"},{"photo_id":"1331830697","filename":"file1"},{"photo_id":"1331830694","filename":"file0"},{"photo_id":"1331830706","filename":"file3"}],"portfolio_id":19942284,"hashtag_by_photo_ids":[{"1331830694":["hashtag1","hashtag2"]},{"1331830706":["hashtag1","hashtag2"]},{"1331830762":["hashtag1","hashtag2"]},{"1331830702":["hashtag1","hashtag2"]},{"1331830711":["hashtag1","hashtag2"]},{"1331830697":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942284 used, photo_id : ArrayBuffer(1331830694, 1331830706, 1331830762, 1331830702, 1331830711, 1331830697)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 103.72444987297058 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-27 02:45:21.931152
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/01/58/image_27012025_01_58_02_533721_0001.jpg', '/home/pi/Desktop/images/27012025/01/58/image_27012025_01_58_02_533721_0002.jpg', '/home/pi/Desktop/images/27012025/01/58/image_27012025_01_58_02_533721_0003.jpg', '/home/pi/Desktop/images/27012025/01/59/image_27012025_01_59_03_047732_0000.jpg', '/home/pi/Desktop/images/27012025/01/59/image_27012025_01_59_03_047732_0001.jpg', '/home/pi/Desktop/images/27012025/01/59/image_27012025_01_59_03_047732_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/01/58/image_27012025_01_58_02_533721_0001.jpg
/home/pi/Desktop/images/27012025/01/58/image_27012025_01_58_02_533721_0002.jpg
/home/pi/Desktop/images/27012025/01/58/image_27012025_01_58_02_533721_0003.jpg
/home/pi/Desktop/images/27012025/01/59/image_27012025_01_59_03_047732_0000.jpg
/home/pi/Desktop/images/27012025/01/59/image_27012025_01_59_03_047732_0001.jpg
/home/pi/Desktop/images/27012025/01/59/image_27012025_01_59_03_047732_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331831135","1331831128","1331831151","1331831145","1331831139","1331831130"],"photo_ids_order":["1331831128","1331831130","1331831135","1331831139","1331831145","1331831151"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/a2a7ef32ea73c07eb8b2d379c29480aa.jpg","text":"TemporaryFile(/tmp/multipartBody933574066924791280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737942444675,"filename":"image_27012025_01_58_02_533721_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/5f8cee60cb33d6647a3d7c81342a8b75.jpg","text":"TemporaryFile(/tmp/multipartBody7042240768355294009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737942444675,"filename":"image_27012025_01_58_02_533721_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/a4aa80cb3d9c84a68bb685ac974ca686.jpg","text":"TemporaryFile(/tmp/multipartBody4377548606033049171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737942444675,"filename":"image_27012025_01_59_03_047732_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/2d037f29f843ab8f6bd37f534a1fc82a.jpg","text":"TemporaryFile(/tmp/multipartBody5718238123379711056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737942444675,"filename":"image_27012025_01_59_03_047732_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/a4b1a9e32aca0c375c7bedb3bb7d9fb6.jpg","text":"TemporaryFile(/tmp/multipartBody7241297974092658069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737942444675,"filename":"image_27012025_01_59_03_047732_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/2eed5e11ddd2e77f1974c940c59ca8f2.jpg","text":"TemporaryFile(/tmp/multipartBody5050739623580376152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737942444675,"filename":"image_27012025_01_58_02_533721_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331831135","file1":"1331831130","file0":"1331831128","file4":"1331831145","file5":"1331831151","file3":"1331831139"},"map_files_photo_id_array":[{"photo_id":"1331831151","filename":"file5"},{"photo_id":"1331831135","filename":"file2"},{"photo_id":"1331831145","filename":"file4"},{"photo_id":"1331831130","filename":"file1"},{"photo_id":"1331831128","filename":"file0"},{"photo_id":"1331831139","filename":"file3"}],"portfolio_id":19942284,"hashtag_by_photo_ids":[{"1331831135":["hashtag1","hashtag2"]},{"1331831128":["hashtag1","hashtag2"]},{"1331831151":["hashtag1","hashtag2"]},{"1331831145":["hashtag1","hashtag2"]},{"1331831139":["hashtag1","hashtag2"]},{"1331831130":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942284 used, photo_id : ArrayBuffer(1331831135, 1331831128, 1331831151, 1331831145, 1331831139, 1331831130)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 101.96972179412842 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-27 02:47:21.988380
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/01/59/image_27012025_01_59_03_047732_0003.jpg', '/home/pi/Desktop/images/27012025/02/00/image_27012025_02_00_02_300186_0000.jpg', '/home/pi/Desktop/images/27012025/02/00/image_27012025_02_00_02_300186_0001.jpg', '/home/pi/Desktop/images/27012025/02/00/image_27012025_02_00_02_300186_0002.jpg', '/home/pi/Desktop/images/27012025/02/00/image_27012025_02_00_02_300186_0003.jpg', '/home/pi/Desktop/images/27012025/02/01/image_27012025_02_01_02_900714_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/01/59/image_27012025_01_59_03_047732_0003.jpg
/home/pi/Desktop/images/27012025/02/00/image_27012025_02_00_02_300186_0000.jpg
/home/pi/Desktop/images/27012025/02/00/image_27012025_02_00_02_300186_0001.jpg
/home/pi/Desktop/images/27012025/02/00/image_27012025_02_00_02_300186_0002.jpg
/home/pi/Desktop/images/27012025/02/00/image_27012025_02_00_02_300186_0003.jpg
/home/pi/Desktop/images/27012025/02/01/image_27012025_02_01_02_900714_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331831186","1331831176","1331831196","1331831193","1331831180","1331831183"],"photo_ids_order":["1331831176","1331831180","1331831183","1331831186","1331831193","1331831196"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/5751a568d6314c0385cae64c1b51aeb0.jpg","text":"TemporaryFile(/tmp/multipartBody4294111064578566833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737942566559,"filename":"image_27012025_02_00_02_300186_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/26b8d7b3e3e9db3955ac74bf8b99d8c1.jpg","text":"TemporaryFile(/tmp/multipartBody4886069536615605001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737942566559,"filename":"image_27012025_01_59_03_047732_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/bd1aef96c3c0771ebd1c937709928caa.jpg","text":"TemporaryFile(/tmp/multipartBody4221802210955226580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737942566559,"filename":"image_27012025_02_01_02_900714_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/5ad14f2285c9063a53bf7a0e8385a8e0.jpg","text":"TemporaryFile(/tmp/multipartBody2907845794502671450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737942566559,"filename":"image_27012025_02_00_02_300186_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/e1c4492a83dbda4d3e64ff8cec9953ba.jpg","text":"TemporaryFile(/tmp/multipartBody5147431486373817736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737942566559,"filename":"image_27012025_02_00_02_300186_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/230d695c2e2f0d8f8f3ecc036a0cc814.jpg","text":"TemporaryFile(/tmp/multipartBody5789454641376170669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737942566559,"filename":"image_27012025_02_00_02_300186_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331831183","file1":"1331831180","file0":"1331831176","file4":"1331831193","file5":"1331831196","file3":"1331831186"},"map_files_photo_id_array":[{"photo_id":"1331831196","filename":"file5"},{"photo_id":"1331831183","filename":"file2"},{"photo_id":"1331831193","filename":"file4"},{"photo_id":"1331831180","filename":"file1"},{"photo_id":"1331831176","filename":"file0"},{"photo_id":"1331831186","filename":"file3"}],"portfolio_id":19942284,"hashtag_by_photo_ids":[{"1331831186":["hashtag1","hashtag2"]},{"1331831176":["hashtag1","hashtag2"]},{"1331831196":["hashtag1","hashtag2"]},{"1331831193":["hashtag1","hashtag2"]},{"1331831180":["hashtag1","hashtag2"]},{"1331831183":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942284 used, photo_id : ArrayBuffer(1331831186, 1331831176, 1331831196, 1331831193, 1331831180, 1331831183)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 110.00984644889832 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-27 02:49:21.993799
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/02/01/image_27012025_02_01_02_900714_0001.jpg', '/home/pi/Desktop/images/27012025/02/01/image_27012025_02_01_02_900714_0002.jpg', '/home/pi/Desktop/images/27012025/02/01/image_27012025_02_01_02_900714_0003.jpg', '/home/pi/Desktop/images/27012025/02/02/image_27012025_02_02_02_419726_0000.jpg', '/home/pi/Desktop/images/27012025/02/02/image_27012025_02_02_02_419726_0001.jpg', '/home/pi/Desktop/images/27012025/02/02/image_27012025_02_02_02_419726_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/02/01/image_27012025_02_01_02_900714_0001.jpg
/home/pi/Desktop/images/27012025/02/01/image_27012025_02_01_02_900714_0002.jpg
/home/pi/Desktop/images/27012025/02/01/image_27012025_02_01_02_900714_0003.jpg
/home/pi/Desktop/images/27012025/02/02/image_27012025_02_02_02_419726_0000.jpg
/home/pi/Desktop/images/27012025/02/02/image_27012025_02_02_02_419726_0001.jpg
/home/pi/Desktop/images/27012025/02/02/image_27012025_02_02_02_419726_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331831674","1331831671","1331831696","1331831690","1331831684","1331831678"],"photo_ids_order":["1331831671","1331831674","1331831678","1331831684","1331831690","1331831696"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/25c0da936608b55d795ff7884cddb734.jpg","text":"TemporaryFile(/tmp/multipartBody6158599140601611837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737942687109,"filename":"image_27012025_02_01_02_900714_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/1f940edd4dab8371aa71a4bc09409af8.jpg","text":"TemporaryFile(/tmp/multipartBody3529423183523736388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737942687109,"filename":"image_27012025_02_01_02_900714_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/a32ec8c2c1d81b550aabf475fe84a0e2.jpg","text":"TemporaryFile(/tmp/multipartBody4096654627872811513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737942687109,"filename":"image_27012025_02_02_02_419726_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/a5ac4a1fa9e82312989c62eabbc428ce.jpg","text":"TemporaryFile(/tmp/multipartBody7918449342254911632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737942687109,"filename":"image_27012025_02_02_02_419726_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/6334a486b56a08faaa6618e7807cfd42.jpg","text":"TemporaryFile(/tmp/multipartBody4212656187450033715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737942687109,"filename":"image_27012025_02_02_02_419726_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/162d254d3f509ef89cf18918ed8a6ab0.jpg","text":"TemporaryFile(/tmp/multipartBody5910370924287878967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737942687109,"filename":"image_27012025_02_01_02_900714_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331831678","file1":"1331831674","file0":"1331831671","file4":"1331831690","file5":"1331831696","file3":"1331831684"},"map_files_photo_id_array":[{"photo_id":"1331831696","filename":"file5"},{"photo_id":"1331831678","filename":"file2"},{"photo_id":"1331831690","filename":"file4"},{"photo_id":"1331831674","filename":"file1"},{"photo_id":"1331831671","filename":"file0"},{"photo_id":"1331831684","filename":"file3"}],"portfolio_id":19942284,"hashtag_by_photo_ids":[{"1331831674":["hashtag1","hashtag2"]},{"1331831671":["hashtag1","hashtag2"]},{"1331831696":["hashtag1","hashtag2"]},{"1331831690":["hashtag1","hashtag2"]},{"1331831684":["hashtag1","hashtag2"]},{"1331831678":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942284 used, photo_id : ArrayBuffer(1331831674, 1331831671, 1331831696, 1331831690, 1331831684, 1331831678)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 106.46035981178284 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-27 02:51:22.006844
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/02/02/image_27012025_02_02_02_419726_0003.jpg', '/home/pi/Desktop/images/27012025/02/03/image_27012025_02_03_02_939202_0000.jpg', '/home/pi/Desktop/images/27012025/02/03/image_27012025_02_03_02_939202_0001.jpg', '/home/pi/Desktop/images/27012025/02/03/image_27012025_02_03_02_939202_0002.jpg', '/home/pi/Desktop/images/27012025/02/03/image_27012025_02_03_02_939202_0003.jpg', '/home/pi/Desktop/images/27012025/02/04/image_27012025_02_04_02_459288_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/02/02/image_27012025_02_02_02_419726_0003.jpg
/home/pi/Desktop/images/27012025/02/03/image_27012025_02_03_02_939202_0000.jpg
/home/pi/Desktop/images/27012025/02/03/image_27012025_02_03_02_939202_0001.jpg
/home/pi/Desktop/images/27012025/02/03/image_27012025_02_03_02_939202_0002.jpg
/home/pi/Desktop/images/27012025/02/03/image_27012025_02_03_02_939202_0003.jpg
/home/pi/Desktop/images/27012025/02/04/image_27012025_02_04_02_459288_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331832133","1331832157","1331832136","1331832152","1331832140","1331832146"],"photo_ids_order":["1331832133","1331832136","1331832140","1331832146","1331832152","1331832157"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/fcb43d4ab01f18b49cb0f7b4db1becac.jpg","text":"TemporaryFile(/tmp/multipartBody2215233008740922074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737942806459,"filename":"image_27012025_02_02_02_419726_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/f384d3d2aa884b00c84f80fc81538bfb.jpg","text":"TemporaryFile(/tmp/multipartBody8493147729678048781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737942806459,"filename":"image_27012025_02_04_02_459288_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/aa62592659d6d3041378e53c03f17933.jpg","text":"TemporaryFile(/tmp/multipartBody3226114382369421332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737942806459,"filename":"image_27012025_02_03_02_939202_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/e587a970ab18dc6ab155016fe3b8bb0f.jpg","text":"TemporaryFile(/tmp/multipartBody3113943975604898720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737942806459,"filename":"image_27012025_02_03_02_939202_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/0eefff11a71e115119b31e231ee570de.jpg","text":"TemporaryFile(/tmp/multipartBody944546889274471596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737942806459,"filename":"image_27012025_02_03_02_939202_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/5ae52c66a4c92e942bab0640e45227be.jpg","text":"TemporaryFile(/tmp/multipartBody1160719289460565024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737942806459,"filename":"image_27012025_02_03_02_939202_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331832140","file1":"1331832136","file0":"1331832133","file4":"1331832152","file5":"1331832157","file3":"1331832146"},"map_files_photo_id_array":[{"photo_id":"1331832157","filename":"file5"},{"photo_id":"1331832140","filename":"file2"},{"photo_id":"1331832152","filename":"file4"},{"photo_id":"1331832136","filename":"file1"},{"photo_id":"1331832133","filename":"file0"},{"photo_id":"1331832146","filename":"file3"}],"portfolio_id":19942284,"hashtag_by_photo_ids":[{"1331832133":["hashtag1","hashtag2"]},{"1331832157":["hashtag1","hashtag2"]},{"1331832136":["hashtag1","hashtag2"]},{"1331832152":["hashtag1","hashtag2"]},{"1331832140":["hashtag1","hashtag2"]},{"1331832146":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942284 used, photo_id : ArrayBuffer(1331832133, 1331832157, 1331832136, 1331832152, 1331832140, 1331832146)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 105.91040682792664 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-27 02:53:22.095945
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/02/04/image_27012025_02_04_02_459288_0001.jpg', '/home/pi/Desktop/images/27012025/02/04/image_27012025_02_04_02_459288_0002.jpg', '/home/pi/Desktop/images/27012025/02/04/image_27012025_02_04_02_459288_0003.jpg', '/home/pi/Desktop/images/27012025/02/05/image_27012025_02_05_03_002974_0000.jpg', '/home/pi/Desktop/images/27012025/02/05/image_27012025_02_05_03_002974_0001.jpg', '/home/pi/Desktop/images/27012025/02/05/image_27012025_02_05_03_002974_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/02/04/image_27012025_02_04_02_459288_0001.jpg
/home/pi/Desktop/images/27012025/02/04/image_27012025_02_04_02_459288_0002.jpg
/home/pi/Desktop/images/27012025/02/04/image_27012025_02_04_02_459288_0003.jpg
/home/pi/Desktop/images/27012025/02/05/image_27012025_02_05_03_002974_0000.jpg
/home/pi/Desktop/images/27012025/02/05/image_27012025_02_05_03_002974_0001.jpg
/home/pi/Desktop/images/27012025/02/05/image_27012025_02_05_03_002974_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331832181","1331832184","1331832180","1331832198","1331832194","1331832188"],"photo_ids_order":["1331832180","1331832181","1331832184","1331832188","1331832194","1331832198"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/be4badb1147ff1ede864166147ba2d1c.jpg","text":"TemporaryFile(/tmp/multipartBody5988984958700661989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737942925200,"filename":"image_27012025_02_04_02_459288_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/f583203bf4e499e0fb83971e4875b468.jpg","text":"TemporaryFile(/tmp/multipartBody285961586884725335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737942925200,"filename":"image_27012025_02_04_02_459288_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/b71cb0f8fd861736ca46d3c46141d1a5.jpg","text":"TemporaryFile(/tmp/multipartBody9003538083084078937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737942925200,"filename":"image_27012025_02_04_02_459288_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/97c9fa9ec8089821a6d187f190be7cee.jpg","text":"TemporaryFile(/tmp/multipartBody2727980427992296732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737942925200,"filename":"image_27012025_02_05_03_002974_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/9a3e38ac17dcd37fe54c47a48fe553cb.jpg","text":"TemporaryFile(/tmp/multipartBody6871627202846124168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737942925200,"filename":"image_27012025_02_05_03_002974_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/3f63d261124325a94f00aaf592427619.jpg","text":"TemporaryFile(/tmp/multipartBody7830165358959491449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737942925200,"filename":"image_27012025_02_05_03_002974_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331832184","file1":"1331832181","file0":"1331832180","file4":"1331832194","file5":"1331832198","file3":"1331832188"},"map_files_photo_id_array":[{"photo_id":"1331832198","filename":"file5"},{"photo_id":"1331832184","filename":"file2"},{"photo_id":"1331832194","filename":"file4"},{"photo_id":"1331832181","filename":"file1"},{"photo_id":"1331832180","filename":"file0"},{"photo_id":"1331832188","filename":"file3"}],"portfolio_id":19942284,"hashtag_by_photo_ids":[{"1331832181":["hashtag1","hashtag2"]},{"1331832184":["hashtag1","hashtag2"]},{"1331832180":["hashtag1","hashtag2"]},{"1331832198":["hashtag1","hashtag2"]},{"1331832194":["hashtag1","hashtag2"]},{"1331832188":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942284 used, photo_id : ArrayBuffer(1331832181, 1331832184, 1331832180, 1331832198, 1331832194, 1331832188)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 104.12197780609131 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-27 02:55:22.266546
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/02/05/image_27012025_02_05_03_002974_0003.jpg', '/home/pi/Desktop/images/27012025/02/06/image_27012025_02_06_02_491698_0000.jpg', '/home/pi/Desktop/images/27012025/02/06/image_27012025_02_06_02_491698_0001.jpg', '/home/pi/Desktop/images/27012025/02/06/image_27012025_02_06_02_491698_0002.jpg', '/home/pi/Desktop/images/27012025/02/06/image_27012025_02_06_02_491698_0003.jpg', '/home/pi/Desktop/images/27012025/02/07/image_27012025_02_07_03_000341_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/02/05/image_27012025_02_05_03_002974_0003.jpg
/home/pi/Desktop/images/27012025/02/06/image_27012025_02_06_02_491698_0000.jpg
/home/pi/Desktop/images/27012025/02/06/image_27012025_02_06_02_491698_0001.jpg
/home/pi/Desktop/images/27012025/02/06/image_27012025_02_06_02_491698_0002.jpg
/home/pi/Desktop/images/27012025/02/06/image_27012025_02_06_02_491698_0003.jpg
/home/pi/Desktop/images/27012025/02/07/image_27012025_02_07_03_000341_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331832506","1331832511","1331832502","1331832492","1331832495","1331832499"],"photo_ids_order":["1331832492","1331832495","1331832499","1331832502","1331832506","1331832511"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/552557d0079266c563607768f523b6fa.jpg","text":"TemporaryFile(/tmp/multipartBody8046522112853046365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737943046319,"filename":"image_27012025_02_06_02_491698_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/63fa0eefeae3fa3f02d38f9fac6a1bd9.jpg","text":"TemporaryFile(/tmp/multipartBody9028125649192392961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737943046319,"filename":"image_27012025_02_07_03_000341_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/d1173f1dfcd0810029037d8834fd90e7.jpg","text":"TemporaryFile(/tmp/multipartBody3158776041332351877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737943046319,"filename":"image_27012025_02_06_02_491698_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/0bf6e6eb0385b8bb3ac1c1aa80529be8.jpg","text":"TemporaryFile(/tmp/multipartBody2109598363804254126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737943046319,"filename":"image_27012025_02_05_03_002974_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/d33fee41a50c25315f57c01d05d2cd32.jpg","text":"TemporaryFile(/tmp/multipartBody5705621481470873775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737943046319,"filename":"image_27012025_02_06_02_491698_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/b794a664f8a79dda437e7b43765d6ab6.jpg","text":"TemporaryFile(/tmp/multipartBody110884109241639012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737943046319,"filename":"image_27012025_02_06_02_491698_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331832499","file1":"1331832495","file0":"1331832492","file4":"1331832506","file5":"1331832511","file3":"1331832502"},"map_files_photo_id_array":[{"photo_id":"1331832511","filename":"file5"},{"photo_id":"1331832499","filename":"file2"},{"photo_id":"1331832506","filename":"file4"},{"photo_id":"1331832495","filename":"file1"},{"photo_id":"1331832492","filename":"file0"},{"photo_id":"1331832502","filename":"file3"}],"portfolio_id":19942284,"hashtag_by_photo_ids":[{"1331832506":["hashtag1","hashtag2"]},{"1331832511":["hashtag1","hashtag2"]},{"1331832502":["hashtag1","hashtag2"]},{"1331832492":["hashtag1","hashtag2"]},{"1331832495":["hashtag1","hashtag2"]},{"1331832499":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942284 used, photo_id : ArrayBuffer(1331832506, 1331832511, 1331832502, 1331832492, 1331832495, 1331832499)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 104.72542715072632 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-27 02:57:22.213515
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/02/07/image_27012025_02_07_03_000341_0001.jpg', '/home/pi/Desktop/images/27012025/02/07/image_27012025_02_07_03_000341_0002.jpg', '/home/pi/Desktop/images/27012025/02/07/image_27012025_02_07_03_000341_0003.jpg', '/home/pi/Desktop/images/27012025/02/08/image_27012025_02_08_02_487947_0000.jpg', '/home/pi/Desktop/images/27012025/02/08/image_27012025_02_08_02_487947_0001.jpg', '/home/pi/Desktop/images/27012025/02/08/image_27012025_02_08_02_487947_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/02/07/image_27012025_02_07_03_000341_0001.jpg
/home/pi/Desktop/images/27012025/02/07/image_27012025_02_07_03_000341_0002.jpg
/home/pi/Desktop/images/27012025/02/07/image_27012025_02_07_03_000341_0003.jpg
/home/pi/Desktop/images/27012025/02/08/image_27012025_02_08_02_487947_0000.jpg
/home/pi/Desktop/images/27012025/02/08/image_27012025_02_08_02_487947_0001.jpg
/home/pi/Desktop/images/27012025/02/08/image_27012025_02_08_02_487947_0002.jpg
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 02:59:02.483140
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/02/07/image_27012025_02_07_03_000341_0001.jpg', '/home/pi/Desktop/images/27012025/02/07/image_27012025_02_07_03_000341_0002.jpg', '/home/pi/Desktop/images/27012025/02/07/image_27012025_02_07_03_000341_0003.jpg', '/home/pi/Desktop/images/27012025/02/08/image_27012025_02_08_02_487947_0000.jpg', '/home/pi/Desktop/images/27012025/02/08/image_27012025_02_08_02_487947_0001.jpg', '/home/pi/Desktop/images/27012025/02/08/image_27012025_02_08_02_487947_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/02/07/image_27012025_02_07_03_000341_0001.jpg
/home/pi/Desktop/images/27012025/02/07/image_27012025_02_07_03_000341_0002.jpg
/home/pi/Desktop/images/27012025/02/07/image_27012025_02_07_03_000341_0003.jpg
/home/pi/Desktop/images/27012025/02/08/image_27012025_02_08_02_487947_0000.jpg
/home/pi/Desktop/images/27012025/02/08/image_27012025_02_08_02_487947_0001.jpg
/home/pi/Desktop/images/27012025/02/08/image_27012025_02_08_02_487947_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331833402","1331833391","1331833385","1331833364","1331833400","1331833396"],"photo_ids_order":["1331833364","1331833385","1331833391","1331833396","1331833400","1331833402"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/7a907e2caae07c70f3fa45a067a074b5.jpg","text":"TemporaryFile(/tmp/multipartBody2404319125319026071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737943267988,"filename":"image_27012025_02_08_02_487947_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/291ea2ec0117d176eff094b3750cbcf3.jpg","text":"TemporaryFile(/tmp/multipartBody1877523170951684390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737943267988,"filename":"image_27012025_02_07_03_000341_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/dbceb32c3fa5878adab0f7c212191b73.jpg","text":"TemporaryFile(/tmp/multipartBody8571758376327934993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737943267988,"filename":"image_27012025_02_07_03_000341_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/b2c68f545b78ec9268d18ea7246ef860.jpg","text":"TemporaryFile(/tmp/multipartBody5120260756693869792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737943267988,"filename":"image_27012025_02_07_03_000341_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/6128392e8d73372f4e14a5d6f3a9fb23.jpg","text":"TemporaryFile(/tmp/multipartBody4540664558464692752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737943267988,"filename":"image_27012025_02_08_02_487947_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/385775666c72e28fc420a232a1f2c58e.jpg","text":"TemporaryFile(/tmp/multipartBody7848263861880066936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737943267988,"filename":"image_27012025_02_08_02_487947_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331833391","file1":"1331833385","file0":"1331833364","file4":"1331833400","file5":"1331833402","file3":"1331833396"},"map_files_photo_id_array":[{"photo_id":"1331833402","filename":"file5"},{"photo_id":"1331833391","filename":"file2"},{"photo_id":"1331833400","filename":"file4"},{"photo_id":"1331833385","filename":"file1"},{"photo_id":"1331833364","filename":"file0"},{"photo_id":"1331833396","filename":"file3"}],"portfolio_id":19942284,"hashtag_by_photo_ids":[{"1331833402":["hashtag1","hashtag2"]},{"1331833391":["hashtag1","hashtag2"]},{"1331833385":["hashtag1","hashtag2"]},{"1331833364":["hashtag1","hashtag2"]},{"1331833400":["hashtag1","hashtag2"]},{"1331833396":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942284 used, photo_id : ArrayBuffer(1331833402, 1331833391, 1331833385, 1331833364, 1331833400, 1331833396)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 105.91381669044495 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 03:01:02.645135
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/02/08/image_27012025_02_08_02_487947_0003.jpg', '/home/pi/Desktop/images/27012025/02/09/image_27012025_02_09_03_027417_0000.jpg', '/home/pi/Desktop/images/27012025/02/09/image_27012025_02_09_03_027417_0001.jpg', '/home/pi/Desktop/images/27012025/02/09/image_27012025_02_09_03_027417_0002.jpg', '/home/pi/Desktop/images/27012025/02/09/image_27012025_02_09_03_027417_0003.jpg', '/home/pi/Desktop/images/27012025/02/10/image_27012025_02_10_02_540692_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/02/08/image_27012025_02_08_02_487947_0003.jpg
/home/pi/Desktop/images/27012025/02/09/image_27012025_02_09_03_027417_0000.jpg
/home/pi/Desktop/images/27012025/02/09/image_27012025_02_09_03_027417_0001.jpg
/home/pi/Desktop/images/27012025/02/09/image_27012025_02_09_03_027417_0002.jpg
/home/pi/Desktop/images/27012025/02/09/image_27012025_02_09_03_027417_0003.jpg
/home/pi/Desktop/images/27012025/02/10/image_27012025_02_10_02_540692_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331833459","1331833452","1331833455","1331833460","1331833463","1331833457"],"photo_ids_order":["1331833452","1331833455","1331833457","1331833459","1331833460","1331833463"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/008a8fb6182114d3a49ce12b98b1e763.jpg","text":"TemporaryFile(/tmp/multipartBody7777696254904716217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737943388139,"filename":"image_27012025_02_09_03_027417_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/ee07162f84d926f46adc376db8db1cd5.jpg","text":"TemporaryFile(/tmp/multipartBody2660829946799934881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737943388139,"filename":"image_27012025_02_08_02_487947_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/5e879ff25e4b017adff84b24ee438b72.jpg","text":"TemporaryFile(/tmp/multipartBody3685038922377616905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737943388139,"filename":"image_27012025_02_09_03_027417_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/496f4deb251cef4d1968124c25ce5687.jpg","text":"TemporaryFile(/tmp/multipartBody6963603703606088185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737943388139,"filename":"image_27012025_02_09_03_027417_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/e0c74597b3636b4b1d6a4ef6da151bd5.jpg","text":"TemporaryFile(/tmp/multipartBody1509084965571476882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737943388139,"filename":"image_27012025_02_10_02_540692_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/5a55033d3d81d594bb7578bfcb284da1.jpg","text":"TemporaryFile(/tmp/multipartBody3200754214524527987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737943388139,"filename":"image_27012025_02_09_03_027417_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331833457","file1":"1331833455","file0":"1331833452","file4":"1331833460","file5":"1331833463","file3":"1331833459"},"map_files_photo_id_array":[{"photo_id":"1331833463","filename":"file5"},{"photo_id":"1331833457","filename":"file2"},{"photo_id":"1331833460","filename":"file4"},{"photo_id":"1331833455","filename":"file1"},{"photo_id":"1331833452","filename":"file0"},{"photo_id":"1331833459","filename":"file3"}],"portfolio_id":19942284,"hashtag_by_photo_ids":[{"1331833459":["hashtag1","hashtag2"]},{"1331833452":["hashtag1","hashtag2"]},{"1331833455":["hashtag1","hashtag2"]},{"1331833460":["hashtag1","hashtag2"]},{"1331833463":["hashtag1","hashtag2"]},{"1331833457":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942284 used, photo_id : ArrayBuffer(1331833459, 1331833452, 1331833455, 1331833460, 1331833463, 1331833457)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 106.84631252288818 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 03:03:02.592253
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/02/10/image_27012025_02_10_02_540692_0001.jpg', '/home/pi/Desktop/images/27012025/02/10/image_27012025_02_10_02_540692_0002.jpg', '/home/pi/Desktop/images/27012025/02/10/image_27012025_02_10_02_540692_0003.jpg', '/home/pi/Desktop/images/27012025/02/11/image_27012025_02_11_03_029764_0000.jpg', '/home/pi/Desktop/images/27012025/02/11/image_27012025_02_11_03_029764_0001.jpg', '/home/pi/Desktop/images/27012025/02/11/image_27012025_02_11_03_029764_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/02/10/image_27012025_02_10_02_540692_0001.jpg
/home/pi/Desktop/images/27012025/02/10/image_27012025_02_10_02_540692_0002.jpg
/home/pi/Desktop/images/27012025/02/10/image_27012025_02_10_02_540692_0003.jpg
/home/pi/Desktop/images/27012025/02/11/image_27012025_02_11_03_029764_0000.jpg
/home/pi/Desktop/images/27012025/02/11/image_27012025_02_11_03_029764_0001.jpg
/home/pi/Desktop/images/27012025/02/11/image_27012025_02_11_03_029764_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331834343","1331834310","1331834363","1331834321","1331834359","1331834341"],"photo_ids_order":["1331834310","1331834321","1331834341","1331834343","1331834359","1331834363"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/6cd5e6c613a448aeedd7a73bd07b2966.jpg","text":"TemporaryFile(/tmp/multipartBody5576207358304040894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737943508263,"filename":"image_27012025_02_11_03_029764_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/72a8e2124702858ffe6eceed93116a93.jpg","text":"TemporaryFile(/tmp/multipartBody658228886089545092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737943508263,"filename":"image_27012025_02_10_02_540692_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/4fbe80453bf5dcb10468391626670972.jpg","text":"TemporaryFile(/tmp/multipartBody3923773710566549665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737943508263,"filename":"image_27012025_02_11_03_029764_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/529bffecfc41e78c09b1ecbe1f0c9c0e.jpg","text":"TemporaryFile(/tmp/multipartBody7812105858005144520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737943508263,"filename":"image_27012025_02_10_02_540692_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/e7e93de64c9a8b86b098381e630e5ad6.jpg","text":"TemporaryFile(/tmp/multipartBody8689148555547761903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737943508263,"filename":"image_27012025_02_11_03_029764_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/a64b08293e4f25f02beba4d6440831ad.jpg","text":"TemporaryFile(/tmp/multipartBody7866443286992985065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737943508263,"filename":"image_27012025_02_10_02_540692_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331834341","file1":"1331834321","file0":"1331834310","file4":"1331834359","file5":"1331834363","file3":"1331834343"},"map_files_photo_id_array":[{"photo_id":"1331834363","filename":"file5"},{"photo_id":"1331834341","filename":"file2"},{"photo_id":"1331834359","filename":"file4"},{"photo_id":"1331834321","filename":"file1"},{"photo_id":"1331834310","filename":"file0"},{"photo_id":"1331834343","filename":"file3"}],"portfolio_id":19942284,"hashtag_by_photo_ids":[{"1331834343":["hashtag1","hashtag2"]},{"1331834310":["hashtag1","hashtag2"]},{"1331834363":["hashtag1","hashtag2"]},{"1331834321":["hashtag1","hashtag2"]},{"1331834359":["hashtag1","hashtag2"]},{"1331834341":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942284 used, photo_id : ArrayBuffer(1331834343, 1331834310, 1331834363, 1331834321, 1331834359, 1331834341)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 105.15753769874573 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 03:05:02.493557
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/02/11/image_27012025_02_11_03_029764_0003.jpg', '/home/pi/Desktop/images/27012025/02/12/image_27012025_02_12_02_574410_0000.jpg', '/home/pi/Desktop/images/27012025/02/12/image_27012025_02_12_02_574410_0001.jpg', '/home/pi/Desktop/images/27012025/02/12/image_27012025_02_12_02_574410_0002.jpg', '/home/pi/Desktop/images/27012025/02/12/image_27012025_02_12_02_574410_0003.jpg', '/home/pi/Desktop/images/27012025/02/13/image_27012025_02_13_03_047032_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/02/11/image_27012025_02_11_03_029764_0003.jpg
/home/pi/Desktop/images/27012025/02/12/image_27012025_02_12_02_574410_0000.jpg
/home/pi/Desktop/images/27012025/02/12/image_27012025_02_12_02_574410_0001.jpg
/home/pi/Desktop/images/27012025/02/12/image_27012025_02_12_02_574410_0002.jpg
/home/pi/Desktop/images/27012025/02/12/image_27012025_02_12_02_574410_0003.jpg
/home/pi/Desktop/images/27012025/02/13/image_27012025_02_13_03_047032_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 64.19444370269775 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-27 03:06:22.689899
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/02/11/image_27012025_02_11_03_029764_0003.jpg', '/home/pi/Desktop/images/27012025/02/12/image_27012025_02_12_02_574410_0000.jpg', '/home/pi/Desktop/images/27012025/02/12/image_27012025_02_12_02_574410_0001.jpg', '/home/pi/Desktop/images/27012025/02/12/image_27012025_02_12_02_574410_0002.jpg', '/home/pi/Desktop/images/27012025/02/12/image_27012025_02_12_02_574410_0003.jpg', '/home/pi/Desktop/images/27012025/02/13/image_27012025_02_13_03_047032_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/02/11/image_27012025_02_11_03_029764_0003.jpg
/home/pi/Desktop/images/27012025/02/12/image_27012025_02_12_02_574410_0000.jpg
/home/pi/Desktop/images/27012025/02/12/image_27012025_02_12_02_574410_0001.jpg
/home/pi/Desktop/images/27012025/02/12/image_27012025_02_12_02_574410_0002.jpg
/home/pi/Desktop/images/27012025/02/12/image_27012025_02_12_02_574410_0003.jpg
/home/pi/Desktop/images/27012025/02/13/image_27012025_02_13_03_047032_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331835785","1331835723","1331835434","1331835792","1331835604","1331835789"],"photo_ids_order":["1331835434","1331835604","1331835723","1331835785","1331835789","1331835792"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/8f9662043c171ef1e96b3252da9cd3e5.jpg","text":"TemporaryFile(/tmp/multipartBody833059332446820114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737943708247,"filename":"image_27012025_02_12_02_574410_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/6ec85515bc578a19e80ec1c745e50041.jpg","text":"TemporaryFile(/tmp/multipartBody8960034827443574093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737943708247,"filename":"image_27012025_02_12_02_574410_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/a501eb4ed86793b1bfd8759536c7825a.jpg","text":"TemporaryFile(/tmp/multipartBody4667990740268629604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737943708247,"filename":"image_27012025_02_11_03_029764_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/ce8b422d0941331f265c624a794fa90c.jpg","text":"TemporaryFile(/tmp/multipartBody2731589003947805979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737943708247,"filename":"image_27012025_02_13_03_047032_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/1029c33c4e52187ce8be816b96b84f1f.jpg","text":"TemporaryFile(/tmp/multipartBody6756052753204181471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737943708247,"filename":"image_27012025_02_12_02_574410_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/bbed631372d1326d5189fa047b841305.jpg","text":"TemporaryFile(/tmp/multipartBody2548574155283332290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737943708247,"filename":"image_27012025_02_12_02_574410_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331835723","file1":"1331835604","file0":"1331835434","file4":"1331835789","file5":"1331835792","file3":"1331835785"},"map_files_photo_id_array":[{"photo_id":"1331835792","filename":"file5"},{"photo_id":"1331835723","filename":"file2"},{"photo_id":"1331835789","filename":"file4"},{"photo_id":"1331835604","filename":"file1"},{"photo_id":"1331835434","filename":"file0"},{"photo_id":"1331835785","filename":"file3"}],"portfolio_id":19942284,"hashtag_by_photo_ids":[{"1331835785":["hashtag1","hashtag2"]},{"1331835723":["hashtag1","hashtag2"]},{"1331835434":["hashtag1","hashtag2"]},{"1331835792":["hashtag1","hashtag2"]},{"1331835604":["hashtag1","hashtag2"]},{"1331835789":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942284 used, photo_id : ArrayBuffer(1331835785, 1331835723, 1331835434, 1331835792, 1331835604, 1331835789)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 106.92397212982178 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-27 03:08:22.803418
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/02/13/image_27012025_02_13_03_047032_0001.jpg', '/home/pi/Desktop/images/27012025/02/13/image_27012025_02_13_03_047032_0002.jpg', '/home/pi/Desktop/images/27012025/02/13/image_27012025_02_13_03_047032_0003.jpg', '/home/pi/Desktop/images/27012025/02/14/image_27012025_02_14_02_639720_0000.jpg', '/home/pi/Desktop/images/27012025/02/14/image_27012025_02_14_02_639720_0001.jpg', '/home/pi/Desktop/images/27012025/02/14/image_27012025_02_14_02_639720_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/02/13/image_27012025_02_13_03_047032_0001.jpg
/home/pi/Desktop/images/27012025/02/13/image_27012025_02_13_03_047032_0002.jpg
/home/pi/Desktop/images/27012025/02/13/image_27012025_02_13_03_047032_0003.jpg
/home/pi/Desktop/images/27012025/02/14/image_27012025_02_14_02_639720_0000.jpg
/home/pi/Desktop/images/27012025/02/14/image_27012025_02_14_02_639720_0001.jpg
/home/pi/Desktop/images/27012025/02/14/image_27012025_02_14_02_639720_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 62.630072832107544 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 03:10:02.338323
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/02/13/image_27012025_02_13_03_047032_0001.jpg', '/home/pi/Desktop/images/27012025/02/13/image_27012025_02_13_03_047032_0002.jpg', '/home/pi/Desktop/images/27012025/02/13/image_27012025_02_13_03_047032_0003.jpg', '/home/pi/Desktop/images/27012025/02/14/image_27012025_02_14_02_639720_0000.jpg', '/home/pi/Desktop/images/27012025/02/14/image_27012025_02_14_02_639720_0001.jpg', '/home/pi/Desktop/images/27012025/02/14/image_27012025_02_14_02_639720_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/02/13/image_27012025_02_13_03_047032_0001.jpg
/home/pi/Desktop/images/27012025/02/13/image_27012025_02_13_03_047032_0002.jpg
/home/pi/Desktop/images/27012025/02/13/image_27012025_02_13_03_047032_0003.jpg
/home/pi/Desktop/images/27012025/02/14/image_27012025_02_14_02_639720_0000.jpg
/home/pi/Desktop/images/27012025/02/14/image_27012025_02_14_02_639720_0001.jpg
/home/pi/Desktop/images/27012025/02/14/image_27012025_02_14_02_639720_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 62.40298938751221 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-27 03:11:22.344790
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/02/13/image_27012025_02_13_03_047032_0001.jpg', '/home/pi/Desktop/images/27012025/02/13/image_27012025_02_13_03_047032_0002.jpg', '/home/pi/Desktop/images/27012025/02/13/image_27012025_02_13_03_047032_0003.jpg', '/home/pi/Desktop/images/27012025/02/14/image_27012025_02_14_02_639720_0000.jpg', '/home/pi/Desktop/images/27012025/02/14/image_27012025_02_14_02_639720_0001.jpg', '/home/pi/Desktop/images/27012025/02/14/image_27012025_02_14_02_639720_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/02/13/image_27012025_02_13_03_047032_0001.jpg
/home/pi/Desktop/images/27012025/02/13/image_27012025_02_13_03_047032_0002.jpg
/home/pi/Desktop/images/27012025/02/13/image_27012025_02_13_03_047032_0003.jpg
/home/pi/Desktop/images/27012025/02/14/image_27012025_02_14_02_639720_0000.jpg
/home/pi/Desktop/images/27012025/02/14/image_27012025_02_14_02_639720_0001.jpg
/home/pi/Desktop/images/27012025/02/14/image_27012025_02_14_02_639720_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331837182","1331837185","1331837137","1331837168","1331836991","1331837078"],"photo_ids_order":["1331836991","1331837078","1331837137","1331837168","1331837182","1331837185"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/d20ab5e47e30f92ed3e3fce57a434171.jpg","text":"TemporaryFile(/tmp/multipartBody4316086499786025531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737944005080,"filename":"image_27012025_02_14_02_639720_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/36772d8885680935b8875cbcf68038ea.jpg","text":"TemporaryFile(/tmp/multipartBody1472048717684410823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737944005080,"filename":"image_27012025_02_14_02_639720_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/32c046ded9da11cfa0b22de7f1935cc5.jpg","text":"TemporaryFile(/tmp/multipartBody672865865966448253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737944005080,"filename":"image_27012025_02_13_03_047032_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/0d13f8377aa1c6dda1bc32f08ddf86c9.jpg","text":"TemporaryFile(/tmp/multipartBody7993673704238678539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737944005080,"filename":"image_27012025_02_14_02_639720_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/35d5db061b55efedbff90e85227dc40d.jpg","text":"TemporaryFile(/tmp/multipartBody6611175394540960341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737944005080,"filename":"image_27012025_02_13_03_047032_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/91c456f49f4441ff57a9747f2a1eb591.jpg","text":"TemporaryFile(/tmp/multipartBody2422398887554343433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737944005080,"filename":"image_27012025_02_13_03_047032_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331837137","file1":"1331837078","file0":"1331836991","file4":"1331837182","file5":"1331837185","file3":"1331837168"},"map_files_photo_id_array":[{"photo_id":"1331837185","filename":"file5"},{"photo_id":"1331837137","filename":"file2"},{"photo_id":"1331837182","filename":"file4"},{"photo_id":"1331837078","filename":"file1"},{"photo_id":"1331836991","filename":"file0"},{"photo_id":"1331837168","filename":"file3"}],"portfolio_id":19942284,"hashtag_by_photo_ids":[{"1331837182":["hashtag1","hashtag2"]},{"1331837185":["hashtag1","hashtag2"]},{"1331837137":["hashtag1","hashtag2"]},{"1331837168":["hashtag1","hashtag2"]},{"1331836991":["hashtag1","hashtag2"]},{"1331837078":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942284 used, photo_id : ArrayBuffer(1331837182, 1331837185, 1331837137, 1331837168, 1331836991, 1331837078)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 104.48727655410767 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-27 03:13:22.331267
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/02/14/image_27012025_02_14_02_639720_0003.jpg', '/home/pi/Desktop/images/27012025/02/15/image_27012025_02_15_02_154141_0000.jpg', '/home/pi/Desktop/images/27012025/02/15/image_27012025_02_15_02_154141_0001.jpg', '/home/pi/Desktop/images/27012025/02/15/image_27012025_02_15_02_154141_0002.jpg', '/home/pi/Desktop/images/27012025/02/15/image_27012025_02_15_02_154141_0003.jpg', '/home/pi/Desktop/images/27012025/02/16/image_27012025_02_16_02_660755_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/02/14/image_27012025_02_14_02_639720_0003.jpg
/home/pi/Desktop/images/27012025/02/15/image_27012025_02_15_02_154141_0000.jpg
/home/pi/Desktop/images/27012025/02/15/image_27012025_02_15_02_154141_0001.jpg
/home/pi/Desktop/images/27012025/02/15/image_27012025_02_15_02_154141_0002.jpg
/home/pi/Desktop/images/27012025/02/15/image_27012025_02_15_02_154141_0003.jpg
/home/pi/Desktop/images/27012025/02/16/image_27012025_02_16_02_660755_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331837300","1331837272","1331837275","1331837325","1331837319","1331837396"],"photo_ids_order":["1331837272","1331837275","1331837300","1331837319","1331837325","1331837396"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/c98d8c02d57ba1364d31f7facbceeedd.jpg","text":"TemporaryFile(/tmp/multipartBody5181524445149053882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737944127197,"filename":"image_27012025_02_15_02_154141_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/5f92b91b290ad6333f74c5397f17566f.jpg","text":"TemporaryFile(/tmp/multipartBody8117940941501903184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737944127197,"filename":"image_27012025_02_14_02_639720_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/6f94df3cedce5ef4bf01693c280fa0a7.jpg","text":"TemporaryFile(/tmp/multipartBody1178221853875551630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737944127197,"filename":"image_27012025_02_15_02_154141_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/b4c321c5c1230179ff5199ca014102e5.jpg","text":"TemporaryFile(/tmp/multipartBody6180586829380478553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737944127197,"filename":"image_27012025_02_15_02_154141_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/37467bec3b5c14e500daa4efb029e93a.jpg","text":"TemporaryFile(/tmp/multipartBody6375320850314631110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737944127197,"filename":"image_27012025_02_15_02_154141_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/f665b6c350e26fc12678bd87960a1f77.jpg","text":"TemporaryFile(/tmp/multipartBody8107328115424157168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737944127197,"filename":"image_27012025_02_16_02_660755_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331837300","file1":"1331837275","file0":"1331837272","file4":"1331837325","file5":"1331837396","file3":"1331837319"},"map_files_photo_id_array":[{"photo_id":"1331837396","filename":"file5"},{"photo_id":"1331837300","filename":"file2"},{"photo_id":"1331837325","filename":"file4"},{"photo_id":"1331837275","filename":"file1"},{"photo_id":"1331837272","filename":"file0"},{"photo_id":"1331837319","filename":"file3"}],"portfolio_id":19942284,"hashtag_by_photo_ids":[{"1331837300":["hashtag1","hashtag2"]},{"1331837272":["hashtag1","hashtag2"]},{"1331837275":["hashtag1","hashtag2"]},{"1331837325":["hashtag1","hashtag2"]},{"1331837319":["hashtag1","hashtag2"]},{"1331837396":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942284 used, photo_id : ArrayBuffer(1331837300, 1331837272, 1331837275, 1331837325, 1331837319, 1331837396)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 105.77537655830383 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-27 03:15:22.243464
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/02/16/image_27012025_02_16_02_660755_0001.jpg', '/home/pi/Desktop/images/27012025/02/16/image_27012025_02_16_02_660755_0002.jpg', '/home/pi/Desktop/images/27012025/02/16/image_27012025_02_16_02_660755_0003.jpg', '/home/pi/Desktop/images/27012025/02/17/image_27012025_02_17_02_184106_0000.jpg', '/home/pi/Desktop/images/27012025/02/17/image_27012025_02_17_02_184106_0001.jpg', '/home/pi/Desktop/images/27012025/02/17/image_27012025_02_17_02_184106_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/02/16/image_27012025_02_16_02_660755_0001.jpg
/home/pi/Desktop/images/27012025/02/16/image_27012025_02_16_02_660755_0002.jpg
/home/pi/Desktop/images/27012025/02/16/image_27012025_02_16_02_660755_0003.jpg
/home/pi/Desktop/images/27012025/02/17/image_27012025_02_17_02_184106_0000.jpg
/home/pi/Desktop/images/27012025/02/17/image_27012025_02_17_02_184106_0001.jpg
/home/pi/Desktop/images/27012025/02/17/image_27012025_02_17_02_184106_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331837606","1331837534","1331837522","1331837637","1331837538","1331837619"],"photo_ids_order":["1331837522","1331837534","1331837538","1331837606","1331837619","1331837637"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/34cae680d9897422ff8b16e913027e5e.jpg","text":"TemporaryFile(/tmp/multipartBody2338717595617180992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737944246878,"filename":"image_27012025_02_17_02_184106_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/f3d2938a26e08fd3d53f46bcf0cf6816.jpg","text":"TemporaryFile(/tmp/multipartBody1658518525958671588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737944246878,"filename":"image_27012025_02_16_02_660755_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/79c8a9ead98fce58e4c0c891a32b6a14.jpg","text":"TemporaryFile(/tmp/multipartBody7351215675904239514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737944246878,"filename":"image_27012025_02_16_02_660755_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/55e30f2d32c6034d15633a3dd93b4e65.jpg","text":"TemporaryFile(/tmp/multipartBody427523962946491451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737944246878,"filename":"image_27012025_02_17_02_184106_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/523fe4fe8f1f1a52fd28dc3d40da9de6.jpg","text":"TemporaryFile(/tmp/multipartBody1233018169195878570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737944246878,"filename":"image_27012025_02_16_02_660755_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/169d67f348c3cf5f7c6d81a0e9951c35.jpg","text":"TemporaryFile(/tmp/multipartBody5507482778841908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737944246878,"filename":"image_27012025_02_17_02_184106_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331837538","file1":"1331837534","file0":"1331837522","file4":"1331837619","file5":"1331837637","file3":"1331837606"},"map_files_photo_id_array":[{"photo_id":"1331837637","filename":"file5"},{"photo_id":"1331837538","filename":"file2"},{"photo_id":"1331837619","filename":"file4"},{"photo_id":"1331837534","filename":"file1"},{"photo_id":"1331837522","filename":"file0"},{"photo_id":"1331837606","filename":"file3"}],"portfolio_id":19942284,"hashtag_by_photo_ids":[{"1331837606":["hashtag1","hashtag2"]},{"1331837534":["hashtag1","hashtag2"]},{"1331837522":["hashtag1","hashtag2"]},{"1331837637":["hashtag1","hashtag2"]},{"1331837538":["hashtag1","hashtag2"]},{"1331837619":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942284 used, photo_id : ArrayBuffer(1331837606, 1331837534, 1331837522, 1331837637, 1331837538, 1331837619)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 104.54351258277893 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-27 03:17:22.340331
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/02/17/image_27012025_02_17_02_184106_0003.jpg', '/home/pi/Desktop/images/27012025/02/18/image_27012025_02_18_02_677764_0000.jpg', '/home/pi/Desktop/images/27012025/02/18/image_27012025_02_18_02_677764_0001.jpg', '/home/pi/Desktop/images/27012025/02/18/image_27012025_02_18_02_677764_0002.jpg', '/home/pi/Desktop/images/27012025/02/18/image_27012025_02_18_02_677764_0003.jpg', '/home/pi/Desktop/images/27012025/02/19/image_27012025_02_19_02_241275_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/02/17/image_27012025_02_17_02_184106_0003.jpg
/home/pi/Desktop/images/27012025/02/18/image_27012025_02_18_02_677764_0000.jpg
/home/pi/Desktop/images/27012025/02/18/image_27012025_02_18_02_677764_0001.jpg
/home/pi/Desktop/images/27012025/02/18/image_27012025_02_18_02_677764_0002.jpg
/home/pi/Desktop/images/27012025/02/18/image_27012025_02_18_02_677764_0003.jpg
/home/pi/Desktop/images/27012025/02/19/image_27012025_02_19_02_241275_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331837714","1331837717","1331837722","1331837725","1331837728","1331837712"],"photo_ids_order":["1331837712","1331837714","1331837717","1331837722","1331837725","1331837728"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/4f5b3ad13616d1bb415dc882e44d6b0a.jpg","text":"TemporaryFile(/tmp/multipartBody5225629703506331006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737944367639,"filename":"image_27012025_02_18_02_677764_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/a82ac885568f1bf3ce2aebfcb6566688.jpg","text":"TemporaryFile(/tmp/multipartBody4393429279612381198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737944367639,"filename":"image_27012025_02_18_02_677764_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/07b340df1079567ba953bdd6cc148dff.jpg","text":"TemporaryFile(/tmp/multipartBody462063054512303406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737944367639,"filename":"image_27012025_02_18_02_677764_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/6781bf442215c096e911b6d2949f2714.jpg","text":"TemporaryFile(/tmp/multipartBody7778323176220688543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737944367639,"filename":"image_27012025_02_18_02_677764_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/60d608486acc97b6a430d7f5a932a691.jpg","text":"TemporaryFile(/tmp/multipartBody8603154911494667312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737944367639,"filename":"image_27012025_02_19_02_241275_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/2de3ab12887790ee2cd68d5889dec63f.jpg","text":"TemporaryFile(/tmp/multipartBody345076638387909228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737944367639,"filename":"image_27012025_02_17_02_184106_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331837717","file1":"1331837714","file0":"1331837712","file4":"1331837725","file5":"1331837728","file3":"1331837722"},"map_files_photo_id_array":[{"photo_id":"1331837728","filename":"file5"},{"photo_id":"1331837717","filename":"file2"},{"photo_id":"1331837725","filename":"file4"},{"photo_id":"1331837714","filename":"file1"},{"photo_id":"1331837712","filename":"file0"},{"photo_id":"1331837722","filename":"file3"}],"portfolio_id":19942284,"hashtag_by_photo_ids":[{"1331837714":["hashtag1","hashtag2"]},{"1331837717":["hashtag1","hashtag2"]},{"1331837722":["hashtag1","hashtag2"]},{"1331837725":["hashtag1","hashtag2"]},{"1331837728":["hashtag1","hashtag2"]},{"1331837712":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942284 used, photo_id : ArrayBuffer(1331837714, 1331837717, 1331837722, 1331837725, 1331837728, 1331837712)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 107.29542994499207 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-27 03:19:22.406627
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/02/19/image_27012025_02_19_02_241275_0001.jpg', '/home/pi/Desktop/images/27012025/02/19/image_27012025_02_19_02_241275_0002.jpg', '/home/pi/Desktop/images/27012025/02/19/image_27012025_02_19_02_241275_0003.jpg', '/home/pi/Desktop/images/27012025/02/20/image_27012025_02_20_02_749496_0000.jpg', '/home/pi/Desktop/images/27012025/02/20/image_27012025_02_20_02_749496_0001.jpg', '/home/pi/Desktop/images/27012025/02/20/image_27012025_02_20_02_749496_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/02/19/image_27012025_02_19_02_241275_0001.jpg
/home/pi/Desktop/images/27012025/02/19/image_27012025_02_19_02_241275_0002.jpg
/home/pi/Desktop/images/27012025/02/19/image_27012025_02_19_02_241275_0003.jpg
/home/pi/Desktop/images/27012025/02/20/image_27012025_02_20_02_749496_0000.jpg
/home/pi/Desktop/images/27012025/02/20/image_27012025_02_20_02_749496_0001.jpg
/home/pi/Desktop/images/27012025/02/20/image_27012025_02_20_02_749496_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331837803","1331837812","1331837806","1331837796","1331837809","1331837800"],"photo_ids_order":["1331837796","1331837800","1331837803","1331837806","1331837809","1331837812"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/766ecded948f145bd6b396cdd793094c.jpg","text":"TemporaryFile(/tmp/multipartBody4393214333884308537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737944488273,"filename":"image_27012025_02_19_02_241275_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/696619adc664a166883f5a08d9bcb9de.jpg","text":"TemporaryFile(/tmp/multipartBody5678802629192559497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737944488273,"filename":"image_27012025_02_20_02_749496_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/5a6e26372f84ff15e73adb7249a03689.jpg","text":"TemporaryFile(/tmp/multipartBody554758686118159176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737944488273,"filename":"image_27012025_02_20_02_749496_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/ecef4de6a4fb8977cf896a8dfe376492.jpg","text":"TemporaryFile(/tmp/multipartBody5669267953701907354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737944488273,"filename":"image_27012025_02_19_02_241275_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/a0ebfdf84cd77d6c3d84e95a9155e377.jpg","text":"TemporaryFile(/tmp/multipartBody740253185494962577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737944488273,"filename":"image_27012025_02_20_02_749496_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/293a01fed7b04af2dea4515410a410ce.jpg","text":"TemporaryFile(/tmp/multipartBody8736058085267682414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737944488273,"filename":"image_27012025_02_19_02_241275_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331837803","file1":"1331837800","file0":"1331837796","file4":"1331837809","file5":"1331837812","file3":"1331837806"},"map_files_photo_id_array":[{"photo_id":"1331837812","filename":"file5"},{"photo_id":"1331837803","filename":"file2"},{"photo_id":"1331837809","filename":"file4"},{"photo_id":"1331837800","filename":"file1"},{"photo_id":"1331837796","filename":"file0"},{"photo_id":"1331837806","filename":"file3"}],"portfolio_id":19942284,"hashtag_by_photo_ids":[{"1331837803":["hashtag1","hashtag2"]},{"1331837812":["hashtag1","hashtag2"]},{"1331837806":["hashtag1","hashtag2"]},{"1331837796":["hashtag1","hashtag2"]},{"1331837809":["hashtag1","hashtag2"]},{"1331837800":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942284 used, photo_id : ArrayBuffer(1331837803, 1331837812, 1331837806, 1331837796, 1331837809, 1331837800)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 106.1239378452301 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-27 03:21:22.366109
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/02/20/image_27012025_02_20_02_749496_0003.jpg', '/home/pi/Desktop/images/27012025/02/21/image_27012025_02_21_02_279791_0000.jpg', '/home/pi/Desktop/images/27012025/02/21/image_27012025_02_21_02_279791_0001.jpg', '/home/pi/Desktop/images/27012025/02/21/image_27012025_02_21_02_279791_0002.jpg', '/home/pi/Desktop/images/27012025/02/21/image_27012025_02_21_02_279791_0003.jpg', '/home/pi/Desktop/images/27012025/02/22/image_27012025_02_22_02_773733_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/02/20/image_27012025_02_20_02_749496_0003.jpg
/home/pi/Desktop/images/27012025/02/21/image_27012025_02_21_02_279791_0000.jpg
/home/pi/Desktop/images/27012025/02/21/image_27012025_02_21_02_279791_0001.jpg
/home/pi/Desktop/images/27012025/02/21/image_27012025_02_21_02_279791_0002.jpg
/home/pi/Desktop/images/27012025/02/21/image_27012025_02_21_02_279791_0003.jpg
/home/pi/Desktop/images/27012025/02/22/image_27012025_02_22_02_773733_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331837892","1331837889","1331837877","1331837886","1331837882","1331837879"],"photo_ids_order":["1331837877","1331837879","1331837882","1331837886","1331837889","1331837892"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/5ac91d3d5f280a25eb95f827878174cc.jpg","text":"TemporaryFile(/tmp/multipartBody3995823916036836808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737944607124,"filename":"image_27012025_02_22_02_773733_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/951f767ace9fdff6613dcb0ef3e63bbb.jpg","text":"TemporaryFile(/tmp/multipartBody5086308664328567146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737944607124,"filename":"image_27012025_02_21_02_279791_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/5cf07ea8a5d0585aab502df83201be7a.jpg","text":"TemporaryFile(/tmp/multipartBody7792354242631591232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737944607124,"filename":"image_27012025_02_20_02_749496_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/f64a164a2d1d8df1f4a12c4dbdd5fa46.jpg","text":"TemporaryFile(/tmp/multipartBody6579595646870607764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737944607124,"filename":"image_27012025_02_21_02_279791_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/d8c468960076a2dcf91b611af18e21ee.jpg","text":"TemporaryFile(/tmp/multipartBody2162327158007969473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737944607124,"filename":"image_27012025_02_21_02_279791_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/3dd3e7f592d40364ea57116145a40b88.jpg","text":"TemporaryFile(/tmp/multipartBody7989449203188934517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737944607124,"filename":"image_27012025_02_21_02_279791_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331837882","file1":"1331837879","file0":"1331837877","file4":"1331837889","file5":"1331837892","file3":"1331837886"},"map_files_photo_id_array":[{"photo_id":"1331837892","filename":"file5"},{"photo_id":"1331837882","filename":"file2"},{"photo_id":"1331837889","filename":"file4"},{"photo_id":"1331837879","filename":"file1"},{"photo_id":"1331837877","filename":"file0"},{"photo_id":"1331837886","filename":"file3"}],"portfolio_id":19942284,"hashtag_by_photo_ids":[{"1331837892":["hashtag1","hashtag2"]},{"1331837889":["hashtag1","hashtag2"]},{"1331837877":["hashtag1","hashtag2"]},{"1331837886":["hashtag1","hashtag2"]},{"1331837882":["hashtag1","hashtag2"]},{"1331837879":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942284 used, photo_id : ArrayBuffer(1331837892, 1331837889, 1331837877, 1331837886, 1331837882, 1331837879)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 104.32695603370667 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-27 03:23:22.392820
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/02/22/image_27012025_02_22_02_773733_0001.jpg', '/home/pi/Desktop/images/27012025/02/22/image_27012025_02_22_02_773733_0002.jpg', '/home/pi/Desktop/images/27012025/02/22/image_27012025_02_22_02_773733_0003.jpg', '/home/pi/Desktop/images/27012025/02/23/image_27012025_02_23_02_322486_0000.jpg', '/home/pi/Desktop/images/27012025/02/23/image_27012025_02_23_02_322486_0001.jpg', '/home/pi/Desktop/images/27012025/02/23/image_27012025_02_23_02_322486_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/02/22/image_27012025_02_22_02_773733_0001.jpg
/home/pi/Desktop/images/27012025/02/22/image_27012025_02_22_02_773733_0002.jpg
/home/pi/Desktop/images/27012025/02/22/image_27012025_02_22_02_773733_0003.jpg
/home/pi/Desktop/images/27012025/02/23/image_27012025_02_23_02_322486_0000.jpg
/home/pi/Desktop/images/27012025/02/23/image_27012025_02_23_02_322486_0001.jpg
/home/pi/Desktop/images/27012025/02/23/image_27012025_02_23_02_322486_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331837989","1331838046","1331838034","1331837986","1331838053","1331838050"],"photo_ids_order":["1331837986","1331837989","1331838034","1331838046","1331838050","1331838053"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/b835801cd8dba54288462995db959a5d.jpg","text":"TemporaryFile(/tmp/multipartBody4908399653515205630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737944727108,"filename":"image_27012025_02_22_02_773733_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/e6092d012a7118975e68b6bd03a9eb7e.jpg","text":"TemporaryFile(/tmp/multipartBody1954982975240680706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737944727108,"filename":"image_27012025_02_23_02_322486_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/b8946cc84ee5b617ebd8fb9d7dd2cf34.jpg","text":"TemporaryFile(/tmp/multipartBody7088812209747927820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737944727108,"filename":"image_27012025_02_22_02_773733_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/36b1152244553b948c0aa79095db0c1d.jpg","text":"TemporaryFile(/tmp/multipartBody4475438964036678574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737944727108,"filename":"image_27012025_02_22_02_773733_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/b7ef1ed145d8febaf720da15f0b79b79.jpg","text":"TemporaryFile(/tmp/multipartBody2384269150088920481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737944727108,"filename":"image_27012025_02_23_02_322486_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/d4fefc5797aeead66f8ab5776fa6ea9b.jpg","text":"TemporaryFile(/tmp/multipartBody7262167340661476763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737944727108,"filename":"image_27012025_02_23_02_322486_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331838034","file1":"1331837989","file0":"1331837986","file4":"1331838050","file5":"1331838053","file3":"1331838046"},"map_files_photo_id_array":[{"photo_id":"1331838053","filename":"file5"},{"photo_id":"1331838034","filename":"file2"},{"photo_id":"1331838050","filename":"file4"},{"photo_id":"1331837989","filename":"file1"},{"photo_id":"1331837986","filename":"file0"},{"photo_id":"1331838046","filename":"file3"}],"portfolio_id":19942284,"hashtag_by_photo_ids":[{"1331837989":["hashtag1","hashtag2"]},{"1331838046":["hashtag1","hashtag2"]},{"1331838034":["hashtag1","hashtag2"]},{"1331837986":["hashtag1","hashtag2"]},{"1331838053":["hashtag1","hashtag2"]},{"1331838050":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942284 used, photo_id : ArrayBuffer(1331837989, 1331838046, 1331838034, 1331837986, 1331838053, 1331838050)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 104.0837709903717 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-27 03:25:22.447172
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/02/23/image_27012025_02_23_02_322486_0003.jpg', '/home/pi/Desktop/images/27012025/02/24/image_27012025_02_24_02_837716_0000.jpg', '/home/pi/Desktop/images/27012025/02/24/image_27012025_02_24_02_837716_0001.jpg', '/home/pi/Desktop/images/27012025/02/24/image_27012025_02_24_02_837716_0002.jpg', '/home/pi/Desktop/images/27012025/02/24/image_27012025_02_24_02_837716_0003.jpg', '/home/pi/Desktop/images/27012025/02/25/image_27012025_02_25_02_392183_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/02/23/image_27012025_02_23_02_322486_0003.jpg
/home/pi/Desktop/images/27012025/02/24/image_27012025_02_24_02_837716_0000.jpg
/home/pi/Desktop/images/27012025/02/24/image_27012025_02_24_02_837716_0001.jpg
/home/pi/Desktop/images/27012025/02/24/image_27012025_02_24_02_837716_0002.jpg
/home/pi/Desktop/images/27012025/02/24/image_27012025_02_24_02_837716_0003.jpg
/home/pi/Desktop/images/27012025/02/25/image_27012025_02_25_02_392183_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331838262","1331838256","1331838271","1331838276","1331838257","1331838266"],"photo_ids_order":["1331838256","1331838257","1331838262","1331838266","1331838271","1331838276"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/f4e332c67f40d5a8186b98c7d5cc3c4c.jpg","text":"TemporaryFile(/tmp/multipartBody4643026274703357613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737944845383,"filename":"image_27012025_02_24_02_837716_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/61efeb29cd7e9db73fd5e9d6427fbbea.jpg","text":"TemporaryFile(/tmp/multipartBody451967879336003781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737944845383,"filename":"image_27012025_02_23_02_322486_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/f4c5121782a294a50469931d6a20543d.jpg","text":"TemporaryFile(/tmp/multipartBody5002473262515835659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737944845383,"filename":"image_27012025_02_24_02_837716_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/0ce6998ea9f739b4d8ecca5d8b265992.jpg","text":"TemporaryFile(/tmp/multipartBody5844218208585623191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737944845383,"filename":"image_27012025_02_25_02_392183_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/629f1bae4a2edbcb3f2b02815e6259c8.jpg","text":"TemporaryFile(/tmp/multipartBody8947936248246935585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737944845383,"filename":"image_27012025_02_24_02_837716_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/34c89a5c08f568f0241e370414057ee4.jpg","text":"TemporaryFile(/tmp/multipartBody3321704693932402642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737944845383,"filename":"image_27012025_02_24_02_837716_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331838262","file1":"1331838257","file0":"1331838256","file4":"1331838271","file5":"1331838276","file3":"1331838266"},"map_files_photo_id_array":[{"photo_id":"1331838276","filename":"file5"},{"photo_id":"1331838262","filename":"file2"},{"photo_id":"1331838271","filename":"file4"},{"photo_id":"1331838257","filename":"file1"},{"photo_id":"1331838256","filename":"file0"},{"photo_id":"1331838266","filename":"file3"}],"portfolio_id":19942284,"hashtag_by_photo_ids":[{"1331838262":["hashtag1","hashtag2"]},{"1331838256":["hashtag1","hashtag2"]},{"1331838271":["hashtag1","hashtag2"]},{"1331838276":["hashtag1","hashtag2"]},{"1331838257":["hashtag1","hashtag2"]},{"1331838266":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942284 used, photo_id : ArrayBuffer(1331838262, 1331838256, 1331838271, 1331838276, 1331838257, 1331838266)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 103.68639588356018 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-27 03:27:22.449519
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/02/25/image_27012025_02_25_02_392183_0001.jpg', '/home/pi/Desktop/images/27012025/02/25/image_27012025_02_25_02_392183_0002.jpg', '/home/pi/Desktop/images/27012025/02/25/image_27012025_02_25_02_392183_0003.jpg', '/home/pi/Desktop/images/27012025/02/26/image_27012025_02_26_02_885146_0000.jpg', '/home/pi/Desktop/images/27012025/02/26/image_27012025_02_26_02_885146_0001.jpg', '/home/pi/Desktop/images/27012025/02/26/image_27012025_02_26_02_885146_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/02/25/image_27012025_02_25_02_392183_0001.jpg
/home/pi/Desktop/images/27012025/02/25/image_27012025_02_25_02_392183_0002.jpg
/home/pi/Desktop/images/27012025/02/25/image_27012025_02_25_02_392183_0003.jpg
/home/pi/Desktop/images/27012025/02/26/image_27012025_02_26_02_885146_0000.jpg
/home/pi/Desktop/images/27012025/02/26/image_27012025_02_26_02_885146_0001.jpg
/home/pi/Desktop/images/27012025/02/26/image_27012025_02_26_02_885146_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331838397","1331838334","1331838372","1331838366","1331838338","1331838341"],"photo_ids_order":["1331838334","1331838338","1331838341","1331838366","1331838372","1331838397"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/fac3a015557e24d0aba6f946ea1d4014.jpg","text":"TemporaryFile(/tmp/multipartBody8019290240513030766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737944967998,"filename":"image_27012025_02_26_02_885146_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/37b47e0c8b640aa48010f121407b6b6c.jpg","text":"TemporaryFile(/tmp/multipartBody7379618647970120058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737944967998,"filename":"image_27012025_02_25_02_392183_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/f9bff07e6add019a4adc08e809009f0d.jpg","text":"TemporaryFile(/tmp/multipartBody7101482990410851435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737944967998,"filename":"image_27012025_02_26_02_885146_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/abbb6cac49ce70bdeaa012634fc651d0.jpg","text":"TemporaryFile(/tmp/multipartBody808921638747383314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737944967998,"filename":"image_27012025_02_26_02_885146_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/9ba3af588816ec819b5b30cb98c92d32.jpg","text":"TemporaryFile(/tmp/multipartBody7192721509871207367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737944967998,"filename":"image_27012025_02_25_02_392183_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/a9a0af0db33111606bdf94598330e798.jpg","text":"TemporaryFile(/tmp/multipartBody3613135375451759391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737944967998,"filename":"image_27012025_02_25_02_392183_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331838341","file1":"1331838338","file0":"1331838334","file4":"1331838372","file5":"1331838397","file3":"1331838366"},"map_files_photo_id_array":[{"photo_id":"1331838397","filename":"file5"},{"photo_id":"1331838341","filename":"file2"},{"photo_id":"1331838372","filename":"file4"},{"photo_id":"1331838338","filename":"file1"},{"photo_id":"1331838334","filename":"file0"},{"photo_id":"1331838366","filename":"file3"}],"portfolio_id":19942284,"hashtag_by_photo_ids":[{"1331838397":["hashtag1","hashtag2"]},{"1331838334":["hashtag1","hashtag2"]},{"1331838372":["hashtag1","hashtag2"]},{"1331838366":["hashtag1","hashtag2"]},{"1331838338":["hashtag1","hashtag2"]},{"1331838341":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942284 used, photo_id : ArrayBuffer(1331838397, 1331838334, 1331838372, 1331838366, 1331838338, 1331838341)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 109.57240176200867 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-27 03:29:22.443484
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/02/26/image_27012025_02_26_02_885146_0003.jpg', '/home/pi/Desktop/images/27012025/02/27/image_27012025_02_27_02_394244_0000.jpg', '/home/pi/Desktop/images/27012025/02/27/image_27012025_02_27_02_394244_0001.jpg', '/home/pi/Desktop/images/27012025/02/27/image_27012025_02_27_02_394244_0002.jpg', '/home/pi/Desktop/images/27012025/02/27/image_27012025_02_27_02_394244_0003.jpg', '/home/pi/Desktop/images/27012025/02/28/image_27012025_02_28_02_886117_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/02/26/image_27012025_02_26_02_885146_0003.jpg
/home/pi/Desktop/images/27012025/02/27/image_27012025_02_27_02_394244_0000.jpg
/home/pi/Desktop/images/27012025/02/27/image_27012025_02_27_02_394244_0001.jpg
/home/pi/Desktop/images/27012025/02/27/image_27012025_02_27_02_394244_0002.jpg
/home/pi/Desktop/images/27012025/02/27/image_27012025_02_27_02_394244_0003.jpg
/home/pi/Desktop/images/27012025/02/28/image_27012025_02_28_02_886117_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331838673","1331838721","1331838762","1331838834","1331838764","1331838676"],"photo_ids_order":["1331838673","1331838676","1331838721","1331838762","1331838764","1331838834"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/a0daa96acd3fa65a64e66867d77c98cf.jpg","text":"TemporaryFile(/tmp/multipartBody8801608269674410471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737945089294,"filename":"image_27012025_02_26_02_885146_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/8bc6c30c653b6ed6f3acfeeb9475a83d.jpg","text":"TemporaryFile(/tmp/multipartBody3969391356820052567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737945089294,"filename":"image_27012025_02_27_02_394244_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/30e86b0878dabc798c3ffc590cf13fe3.jpg","text":"TemporaryFile(/tmp/multipartBody4423767508999874042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737945089294,"filename":"image_27012025_02_27_02_394244_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/8cb7135d04d3612103cf0bc5a5d70147.jpg","text":"TemporaryFile(/tmp/multipartBody3861560373962017038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737945089294,"filename":"image_27012025_02_28_02_886117_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/7b21dd9f4f996cf9027dd639374bb41f.jpg","text":"TemporaryFile(/tmp/multipartBody7392600764401344107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737945089294,"filename":"image_27012025_02_27_02_394244_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/a0dd74f1b62ec764c6bf4a46539850b1.jpg","text":"TemporaryFile(/tmp/multipartBody1791013231549732103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737945089294,"filename":"image_27012025_02_27_02_394244_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331838721","file1":"1331838676","file0":"1331838673","file4":"1331838764","file5":"1331838834","file3":"1331838762"},"map_files_photo_id_array":[{"photo_id":"1331838834","filename":"file5"},{"photo_id":"1331838721","filename":"file2"},{"photo_id":"1331838764","filename":"file4"},{"photo_id":"1331838676","filename":"file1"},{"photo_id":"1331838673","filename":"file0"},{"photo_id":"1331838762","filename":"file3"}],"portfolio_id":19942284,"hashtag_by_photo_ids":[{"1331838673":["hashtag1","hashtag2"]},{"1331838721":["hashtag1","hashtag2"]},{"1331838762":["hashtag1","hashtag2"]},{"1331838834":["hashtag1","hashtag2"]},{"1331838764":["hashtag1","hashtag2"]},{"1331838676":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942284 used, photo_id : ArrayBuffer(1331838673, 1331838721, 1331838762, 1331838834, 1331838764, 1331838676)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 107.53138184547424 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-27 03:31:22.550887
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/02/28/image_27012025_02_28_02_886117_0001.jpg', '/home/pi/Desktop/images/27012025/02/28/image_27012025_02_28_02_886117_0002.jpg', '/home/pi/Desktop/images/27012025/02/28/image_27012025_02_28_02_886117_0003.jpg', '/home/pi/Desktop/images/27012025/02/29/image_27012025_02_29_02_430985_0000.jpg', '/home/pi/Desktop/images/27012025/02/29/image_27012025_02_29_02_430985_0001.jpg', '/home/pi/Desktop/images/27012025/02/29/image_27012025_02_29_02_430985_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/02/28/image_27012025_02_28_02_886117_0001.jpg
/home/pi/Desktop/images/27012025/02/28/image_27012025_02_28_02_886117_0002.jpg
/home/pi/Desktop/images/27012025/02/28/image_27012025_02_28_02_886117_0003.jpg
/home/pi/Desktop/images/27012025/02/29/image_27012025_02_29_02_430985_0000.jpg
/home/pi/Desktop/images/27012025/02/29/image_27012025_02_29_02_430985_0001.jpg
/home/pi/Desktop/images/27012025/02/29/image_27012025_02_29_02_430985_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331838979","1331839002","1331838876","1331838884","1331838944","1331838880"],"photo_ids_order":["1331838876","1331838880","1331838884","1331838944","1331838979","1331839002"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/034fafd03e03791b05a44d68e1830604.jpg","text":"TemporaryFile(/tmp/multipartBody6032313801230286078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737945207845,"filename":"image_27012025_02_29_02_430985_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/bab18b7771f9c97a990306f761cd062d.jpg","text":"TemporaryFile(/tmp/multipartBody8680445738727611088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737945207845,"filename":"image_27012025_02_29_02_430985_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/466f5d4a4f2827bdbc8168dc1657b930.jpg","text":"TemporaryFile(/tmp/multipartBody348490473396387474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737945207845,"filename":"image_27012025_02_28_02_886117_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/8eca2fbd0683f4e9dbc256d5ce1e20e0.jpg","text":"TemporaryFile(/tmp/multipartBody1662058808466813358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737945207845,"filename":"image_27012025_02_28_02_886117_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/497123482a17cf8a210c4adfa737c8b3.jpg","text":"TemporaryFile(/tmp/multipartBody2872561295949471886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737945207845,"filename":"image_27012025_02_29_02_430985_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/c3bab320161de64b8905f542846a03f9.jpg","text":"TemporaryFile(/tmp/multipartBody3258544857406253711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737945207845,"filename":"image_27012025_02_28_02_886117_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331838884","file1":"1331838880","file0":"1331838876","file4":"1331838979","file5":"1331839002","file3":"1331838944"},"map_files_photo_id_array":[{"photo_id":"1331839002","filename":"file5"},{"photo_id":"1331838884","filename":"file2"},{"photo_id":"1331838979","filename":"file4"},{"photo_id":"1331838880","filename":"file1"},{"photo_id":"1331838876","filename":"file0"},{"photo_id":"1331838944","filename":"file3"}],"portfolio_id":19942284,"hashtag_by_photo_ids":[{"1331838979":["hashtag1","hashtag2"]},{"1331839002":["hashtag1","hashtag2"]},{"1331838876":["hashtag1","hashtag2"]},{"1331838884":["hashtag1","hashtag2"]},{"1331838944":["hashtag1","hashtag2"]},{"1331838880":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942284 used, photo_id : ArrayBuffer(1331838979, 1331839002, 1331838876, 1331838884, 1331838944, 1331838880)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 108.59100317955017 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-27 03:33:22.597085
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/02/29/image_27012025_02_29_02_430985_0003.jpg', '/home/pi/Desktop/images/27012025/02/30/image_27012025_02_30_03_033512_0000.jpg', '/home/pi/Desktop/images/27012025/02/30/image_27012025_02_30_03_033512_0001.jpg', '/home/pi/Desktop/images/27012025/02/30/image_27012025_02_30_03_033512_0002.jpg', '/home/pi/Desktop/images/27012025/02/30/image_27012025_02_30_03_033512_0003.jpg', '/home/pi/Desktop/images/27012025/02/31/image_27012025_02_31_02_537616_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/02/29/image_27012025_02_29_02_430985_0003.jpg
/home/pi/Desktop/images/27012025/02/30/image_27012025_02_30_03_033512_0000.jpg
/home/pi/Desktop/images/27012025/02/30/image_27012025_02_30_03_033512_0001.jpg
/home/pi/Desktop/images/27012025/02/30/image_27012025_02_30_03_033512_0002.jpg
/home/pi/Desktop/images/27012025/02/30/image_27012025_02_30_03_033512_0003.jpg
/home/pi/Desktop/images/27012025/02/31/image_27012025_02_31_02_537616_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331839123","1331839117","1331839132","1331839120","1331839137","1331839127"],"photo_ids_order":["1331839117","1331839120","1331839123","1331839127","1331839132","1331839137"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/02c2f1c2589a1429c9a17198729c9520.jpg","text":"TemporaryFile(/tmp/multipartBody1082113637806696163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737945327692,"filename":"image_27012025_02_30_03_033512_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/8d412e49e7ead844d6afb9af5c3539b9.jpg","text":"TemporaryFile(/tmp/multipartBody5695793146738907569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737945327692,"filename":"image_27012025_02_29_02_430985_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/9fb03c4ec00cdb865a8d84776ab1631e.jpg","text":"TemporaryFile(/tmp/multipartBody2900057060365434926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737945327692,"filename":"image_27012025_02_30_03_033512_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/d56075dcde890f19bdceca8c0958d3cc.jpg","text":"TemporaryFile(/tmp/multipartBody3516025737108634900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737945327692,"filename":"image_27012025_02_30_03_033512_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/6cf07e38c2dd68f1c4003134ed36c636.jpg","text":"TemporaryFile(/tmp/multipartBody8190333323754415307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737945327692,"filename":"image_27012025_02_31_02_537616_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/c2f080ef470d4a55d6c86ee55b90d417.jpg","text":"TemporaryFile(/tmp/multipartBody8752750252726488913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737945327692,"filename":"image_27012025_02_30_03_033512_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331839123","file1":"1331839120","file0":"1331839117","file4":"1331839132","file5":"1331839137","file3":"1331839127"},"map_files_photo_id_array":[{"photo_id":"1331839137","filename":"file5"},{"photo_id":"1331839123","filename":"file2"},{"photo_id":"1331839132","filename":"file4"},{"photo_id":"1331839120","filename":"file1"},{"photo_id":"1331839117","filename":"file0"},{"photo_id":"1331839127","filename":"file3"}],"portfolio_id":19942284,"hashtag_by_photo_ids":[{"1331839123":["hashtag1","hashtag2"]},{"1331839117":["hashtag1","hashtag2"]},{"1331839132":["hashtag1","hashtag2"]},{"1331839120":["hashtag1","hashtag2"]},{"1331839137":["hashtag1","hashtag2"]},{"1331839127":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942284 used, photo_id : ArrayBuffer(1331839123, 1331839117, 1331839132, 1331839120, 1331839137, 1331839127)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 105.07774233818054 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-27 03:35:22.608459
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/02/31/image_27012025_02_31_02_537616_0001.jpg', '/home/pi/Desktop/images/27012025/02/31/image_27012025_02_31_02_537616_0002.jpg', '/home/pi/Desktop/images/27012025/02/31/image_27012025_02_31_02_537616_0003.jpg', '/home/pi/Desktop/images/27012025/02/32/image_27012025_02_32_03_095017_0000.jpg', '/home/pi/Desktop/images/27012025/02/32/image_27012025_02_32_03_095017_0001.jpg', '/home/pi/Desktop/images/27012025/02/32/image_27012025_02_32_03_095017_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/02/31/image_27012025_02_31_02_537616_0001.jpg
/home/pi/Desktop/images/27012025/02/31/image_27012025_02_31_02_537616_0002.jpg
/home/pi/Desktop/images/27012025/02/31/image_27012025_02_31_02_537616_0003.jpg
/home/pi/Desktop/images/27012025/02/32/image_27012025_02_32_03_095017_0000.jpg
/home/pi/Desktop/images/27012025/02/32/image_27012025_02_32_03_095017_0001.jpg
/home/pi/Desktop/images/27012025/02/32/image_27012025_02_32_03_095017_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331839165","1331839170","1331839158","1331839160","1331839178","1331839174"],"photo_ids_order":["1331839158","1331839160","1331839165","1331839170","1331839174","1331839178"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/a03d1132fd6962c2cc31b4a45b767e7a.jpg","text":"TemporaryFile(/tmp/multipartBody4480936470420454166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737945447132,"filename":"image_27012025_02_31_02_537616_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/25a4d95c969081148528afc91d9e87eb.jpg","text":"TemporaryFile(/tmp/multipartBody8960948891211111983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737945447132,"filename":"image_27012025_02_32_03_095017_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/5151d1d3341f511a802f8967419118d1.jpg","text":"TemporaryFile(/tmp/multipartBody5930153271214957674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737945447132,"filename":"image_27012025_02_31_02_537616_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/49e88d7fd42f5543acd7657dd8fec358.jpg","text":"TemporaryFile(/tmp/multipartBody3448491966816821387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737945447132,"filename":"image_27012025_02_31_02_537616_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/d17e5e8ead97775cc64e9a3ee78bb3b8.jpg","text":"TemporaryFile(/tmp/multipartBody1724700814145363171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737945447132,"filename":"image_27012025_02_32_03_095017_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/0b9d2e3c914408011f0dd3d339f1166f.jpg","text":"TemporaryFile(/tmp/multipartBody6323836277661532896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737945447132,"filename":"image_27012025_02_32_03_095017_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331839165","file1":"1331839160","file0":"1331839158","file4":"1331839174","file5":"1331839178","file3":"1331839170"},"map_files_photo_id_array":[{"photo_id":"1331839178","filename":"file5"},{"photo_id":"1331839165","filename":"file2"},{"photo_id":"1331839174","filename":"file4"},{"photo_id":"1331839160","filename":"file1"},{"photo_id":"1331839158","filename":"file0"},{"photo_id":"1331839170","filename":"file3"}],"portfolio_id":19942284,"hashtag_by_photo_ids":[{"1331839165":["hashtag1","hashtag2"]},{"1331839170":["hashtag1","hashtag2"]},{"1331839158":["hashtag1","hashtag2"]},{"1331839160":["hashtag1","hashtag2"]},{"1331839178":["hashtag1","hashtag2"]},{"1331839174":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942284 used, photo_id : ArrayBuffer(1331839165, 1331839170, 1331839158, 1331839160, 1331839178, 1331839174)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 104.11029744148254 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-27 03:37:22.662066
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/02/32/image_27012025_02_32_03_095017_0003.jpg', '/home/pi/Desktop/images/27012025/02/33/image_27012025_02_33_02_666754_0000.jpg', '/home/pi/Desktop/images/27012025/02/33/image_27012025_02_33_02_666754_0001.jpg', '/home/pi/Desktop/images/27012025/02/33/image_27012025_02_33_02_666754_0002.jpg', '/home/pi/Desktop/images/27012025/02/33/image_27012025_02_33_02_666754_0003.jpg', '/home/pi/Desktop/images/27012025/02/34/image_27012025_02_34_02_179073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/02/32/image_27012025_02_32_03_095017_0003.jpg
/home/pi/Desktop/images/27012025/02/33/image_27012025_02_33_02_666754_0000.jpg
/home/pi/Desktop/images/27012025/02/33/image_27012025_02_33_02_666754_0001.jpg
/home/pi/Desktop/images/27012025/02/33/image_27012025_02_33_02_666754_0002.jpg
/home/pi/Desktop/images/27012025/02/33/image_27012025_02_33_02_666754_0003.jpg
/home/pi/Desktop/images/27012025/02/34/image_27012025_02_34_02_179073_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331839330","1331839281","1331839323","1331839317","1331839310","1331839307"],"photo_ids_order":["1331839281","1331839307","1331839310","1331839317","1331839323","1331839330"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/e90ec85298d3b3a611cc4fff7ec80965.jpg","text":"TemporaryFile(/tmp/multipartBody8037043022077978949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737945565822,"filename":"image_27012025_02_34_02_179073_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/4ea9a3cc7b3e998dcac5d0a847df8225.jpg","text":"TemporaryFile(/tmp/multipartBody7071392489832626214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737945565822,"filename":"image_27012025_02_32_03_095017_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/7b4da70a6a3bfaf25afaa001c7e7a7d7.jpg","text":"TemporaryFile(/tmp/multipartBody9101920881125518707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737945565822,"filename":"image_27012025_02_33_02_666754_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/e6a6af2c03214d34a0e634caedef74a1.jpg","text":"TemporaryFile(/tmp/multipartBody3474025726240956689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737945565822,"filename":"image_27012025_02_33_02_666754_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/6e76a28e85dfe0452a104c682ddec281.jpg","text":"TemporaryFile(/tmp/multipartBody3445891058660141058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737945565822,"filename":"image_27012025_02_33_02_666754_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/7a16f1a3824360561bbbea3a4ad29742.jpg","text":"TemporaryFile(/tmp/multipartBody873814445954799886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737945565822,"filename":"image_27012025_02_33_02_666754_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331839310","file1":"1331839307","file0":"1331839281","file4":"1331839323","file5":"1331839330","file3":"1331839317"},"map_files_photo_id_array":[{"photo_id":"1331839330","filename":"file5"},{"photo_id":"1331839310","filename":"file2"},{"photo_id":"1331839323","filename":"file4"},{"photo_id":"1331839307","filename":"file1"},{"photo_id":"1331839281","filename":"file0"},{"photo_id":"1331839317","filename":"file3"}],"portfolio_id":19942284,"hashtag_by_photo_ids":[{"1331839330":["hashtag1","hashtag2"]},{"1331839281":["hashtag1","hashtag2"]},{"1331839323":["hashtag1","hashtag2"]},{"1331839317":["hashtag1","hashtag2"]},{"1331839310":["hashtag1","hashtag2"]},{"1331839307":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942284 used, photo_id : ArrayBuffer(1331839330, 1331839281, 1331839323, 1331839317, 1331839310, 1331839307)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 103.46288204193115 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-27 03:39:22.673556
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/02/34/image_27012025_02_34_02_179073_0001.jpg', '/home/pi/Desktop/images/27012025/02/34/image_27012025_02_34_02_179073_0002.jpg', '/home/pi/Desktop/images/27012025/02/34/image_27012025_02_34_02_179073_0003.jpg', '/home/pi/Desktop/images/27012025/02/35/image_27012025_02_35_02_678694_0000.jpg', '/home/pi/Desktop/images/27012025/02/35/image_27012025_02_35_02_678694_0001.jpg', '/home/pi/Desktop/images/27012025/02/35/image_27012025_02_35_02_678694_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/02/34/image_27012025_02_34_02_179073_0001.jpg
/home/pi/Desktop/images/27012025/02/34/image_27012025_02_34_02_179073_0002.jpg
/home/pi/Desktop/images/27012025/02/34/image_27012025_02_34_02_179073_0003.jpg
/home/pi/Desktop/images/27012025/02/35/image_27012025_02_35_02_678694_0000.jpg
/home/pi/Desktop/images/27012025/02/35/image_27012025_02_35_02_678694_0001.jpg
/home/pi/Desktop/images/27012025/02/35/image_27012025_02_35_02_678694_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331839414","1331839411","1331839422","1331839418","1331839505","1331839462"],"photo_ids_order":["1331839411","1331839414","1331839418","1331839422","1331839462","1331839505"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/2052262f84d38a2fc15377a9ac46cb45.jpg","text":"TemporaryFile(/tmp/multipartBody5084405136956134010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737945688063,"filename":"image_27012025_02_34_02_179073_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/1abc71080e52be5b86e8867db5d8e1b0.jpg","text":"TemporaryFile(/tmp/multipartBody2050239912346199780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737945688063,"filename":"image_27012025_02_34_02_179073_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/9f18e621c46b05fc45fdf4fa9566585d.jpg","text":"TemporaryFile(/tmp/multipartBody8233192448113799770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737945688063,"filename":"image_27012025_02_35_02_678694_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/6c1bc573905504c575ae13a6753146d0.jpg","text":"TemporaryFile(/tmp/multipartBody809755006663640324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737945688063,"filename":"image_27012025_02_34_02_179073_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/ff38ee871134fe4c5fe9aa6945692f5c.jpg","text":"TemporaryFile(/tmp/multipartBody8482699455197773908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737945688063,"filename":"image_27012025_02_35_02_678694_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/38dff168060f857b6b4d9d9291de6a89.jpg","text":"TemporaryFile(/tmp/multipartBody8726501202680348639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737945688063,"filename":"image_27012025_02_35_02_678694_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331839418","file1":"1331839414","file0":"1331839411","file4":"1331839462","file5":"1331839505","file3":"1331839422"},"map_files_photo_id_array":[{"photo_id":"1331839505","filename":"file5"},{"photo_id":"1331839418","filename":"file2"},{"photo_id":"1331839462","filename":"file4"},{"photo_id":"1331839414","filename":"file1"},{"photo_id":"1331839411","filename":"file0"},{"photo_id":"1331839422","filename":"file3"}],"portfolio_id":19942284,"hashtag_by_photo_ids":[{"1331839414":["hashtag1","hashtag2"]},{"1331839411":["hashtag1","hashtag2"]},{"1331839422":["hashtag1","hashtag2"]},{"1331839418":["hashtag1","hashtag2"]},{"1331839505":["hashtag1","hashtag2"]},{"1331839462":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942284 used, photo_id : ArrayBuffer(1331839414, 1331839411, 1331839422, 1331839418, 1331839505, 1331839462)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 105.22192668914795 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-27 03:41:22.662273
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/02/35/image_27012025_02_35_02_678694_0003.jpg', '/home/pi/Desktop/images/27012025/02/36/image_27012025_02_36_02_163095_0000.jpg', '/home/pi/Desktop/images/27012025/02/36/image_27012025_02_36_02_163095_0001.jpg', '/home/pi/Desktop/images/27012025/02/36/image_27012025_02_36_02_163095_0002.jpg', '/home/pi/Desktop/images/27012025/02/36/image_27012025_02_36_02_163095_0003.jpg', '/home/pi/Desktop/images/27012025/02/37/image_27012025_02_37_02_635448_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/02/35/image_27012025_02_35_02_678694_0003.jpg
/home/pi/Desktop/images/27012025/02/36/image_27012025_02_36_02_163095_0000.jpg
/home/pi/Desktop/images/27012025/02/36/image_27012025_02_36_02_163095_0001.jpg
/home/pi/Desktop/images/27012025/02/36/image_27012025_02_36_02_163095_0002.jpg
/home/pi/Desktop/images/27012025/02/36/image_27012025_02_36_02_163095_0003.jpg
/home/pi/Desktop/images/27012025/02/37/image_27012025_02_37_02_635448_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331839653","1331839605","1331839595","1331839598","1331839589","1331839610"],"photo_ids_order":["1331839589","1331839595","1331839598","1331839605","1331839610","1331839653"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/a44659fbc83511d2072283cc09993b9c.jpg","text":"TemporaryFile(/tmp/multipartBody4359649918590196053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737945809744,"filename":"image_27012025_02_37_02_635448_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/5e79737882f5203100a25322fb95cf64.jpg","text":"TemporaryFile(/tmp/multipartBody4833343784767141899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737945809744,"filename":"image_27012025_02_36_02_163095_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/424313ae83ffe5d011ee08d260130ee0.jpg","text":"TemporaryFile(/tmp/multipartBody9296422901399000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737945809744,"filename":"image_27012025_02_36_02_163095_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/55f5e6ac48030579e2194e22e0abdb0c.jpg","text":"TemporaryFile(/tmp/multipartBody6544923288740605451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737945809744,"filename":"image_27012025_02_36_02_163095_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/3d648257de7fda2477cbeaa9405893c7.jpg","text":"TemporaryFile(/tmp/multipartBody6641051018230976609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737945809744,"filename":"image_27012025_02_35_02_678694_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/273fcfac2f6bc0b92ed2b4937d802d18.jpg","text":"TemporaryFile(/tmp/multipartBody627820292345098043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737945809744,"filename":"image_27012025_02_36_02_163095_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331839598","file1":"1331839595","file0":"1331839589","file4":"1331839610","file5":"1331839653","file3":"1331839605"},"map_files_photo_id_array":[{"photo_id":"1331839653","filename":"file5"},{"photo_id":"1331839598","filename":"file2"},{"photo_id":"1331839610","filename":"file4"},{"photo_id":"1331839595","filename":"file1"},{"photo_id":"1331839589","filename":"file0"},{"photo_id":"1331839605","filename":"file3"}],"portfolio_id":19942284,"hashtag_by_photo_ids":[{"1331839653":["hashtag1","hashtag2"]},{"1331839605":["hashtag1","hashtag2"]},{"1331839595":["hashtag1","hashtag2"]},{"1331839598":["hashtag1","hashtag2"]},{"1331839589":["hashtag1","hashtag2"]},{"1331839610":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942284 used, photo_id : ArrayBuffer(1331839653, 1331839605, 1331839595, 1331839598, 1331839589, 1331839610)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 113.70302534103394 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-27 03:43:21.794111
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/02/37/image_27012025_02_37_02_635448_0001.jpg', '/home/pi/Desktop/images/27012025/02/37/image_27012025_02_37_02_635448_0002.jpg', '/home/pi/Desktop/images/27012025/02/37/image_27012025_02_37_02_635448_0003.jpg', '/home/pi/Desktop/images/27012025/02/38/image_27012025_02_38_02_134792_0000.jpg', '/home/pi/Desktop/images/27012025/02/38/image_27012025_02_38_02_134792_0001.jpg', '/home/pi/Desktop/images/27012025/02/38/image_27012025_02_38_02_134792_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/02/37/image_27012025_02_37_02_635448_0001.jpg
/home/pi/Desktop/images/27012025/02/37/image_27012025_02_37_02_635448_0002.jpg
/home/pi/Desktop/images/27012025/02/37/image_27012025_02_37_02_635448_0003.jpg
/home/pi/Desktop/images/27012025/02/38/image_27012025_02_38_02_134792_0000.jpg
/home/pi/Desktop/images/27012025/02/38/image_27012025_02_38_02_134792_0001.jpg
/home/pi/Desktop/images/27012025/02/38/image_27012025_02_38_02_134792_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331839705","1331839716","1331839719","1331839710","1331839713","1331839706"],"photo_ids_order":["1331839705","1331839706","1331839710","1331839713","1331839716","1331839719"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/42f3301a949f351bb6712335222afc11.jpg","text":"TemporaryFile(/tmp/multipartBody7660651275093858334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737945927113,"filename":"image_27012025_02_37_02_635448_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/9658856004d00edb94e51520ec55fdbb.jpg","text":"TemporaryFile(/tmp/multipartBody442071832163758567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737945927113,"filename":"image_27012025_02_38_02_134792_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/8a6065709c32d0918c82e4fd672b2be0.jpg","text":"TemporaryFile(/tmp/multipartBody6180602169565704269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737945927113,"filename":"image_27012025_02_38_02_134792_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/b8e05835356a541f15106c7f072486a9.jpg","text":"TemporaryFile(/tmp/multipartBody1577322098520499226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737945927113,"filename":"image_27012025_02_37_02_635448_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/7b131961086182539f6dfb3fb47c8fcd.jpg","text":"TemporaryFile(/tmp/multipartBody762162062287260743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737945927113,"filename":"image_27012025_02_38_02_134792_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/2d70efb573862a1cee857c48cda4fd88.jpg","text":"TemporaryFile(/tmp/multipartBody5675910013175810704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737945927113,"filename":"image_27012025_02_37_02_635448_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331839710","file1":"1331839706","file0":"1331839705","file4":"1331839716","file5":"1331839719","file3":"1331839713"},"map_files_photo_id_array":[{"photo_id":"1331839719","filename":"file5"},{"photo_id":"1331839710","filename":"file2"},{"photo_id":"1331839716","filename":"file4"},{"photo_id":"1331839706","filename":"file1"},{"photo_id":"1331839705","filename":"file0"},{"photo_id":"1331839713","filename":"file3"}],"portfolio_id":19942284,"hashtag_by_photo_ids":[{"1331839705":["hashtag1","hashtag2"]},{"1331839716":["hashtag1","hashtag2"]},{"1331839719":["hashtag1","hashtag2"]},{"1331839710":["hashtag1","hashtag2"]},{"1331839713":["hashtag1","hashtag2"]},{"1331839706":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942284 used, photo_id : ArrayBuffer(1331839705, 1331839716, 1331839719, 1331839710, 1331839713, 1331839706)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 104.56183981895447 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-27 03:45:21.879746
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/02/38/image_27012025_02_38_02_134792_0003.jpg', '/home/pi/Desktop/images/27012025/02/39/image_27012025_02_39_02_686801_0000.jpg', '/home/pi/Desktop/images/27012025/02/39/image_27012025_02_39_02_686801_0001.jpg', '/home/pi/Desktop/images/27012025/02/39/image_27012025_02_39_02_686801_0002.jpg', '/home/pi/Desktop/images/27012025/02/39/image_27012025_02_39_02_686801_0003.jpg', '/home/pi/Desktop/images/27012025/02/40/image_27012025_02_40_02_200435_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/02/38/image_27012025_02_38_02_134792_0003.jpg
/home/pi/Desktop/images/27012025/02/39/image_27012025_02_39_02_686801_0000.jpg
/home/pi/Desktop/images/27012025/02/39/image_27012025_02_39_02_686801_0001.jpg
/home/pi/Desktop/images/27012025/02/39/image_27012025_02_39_02_686801_0002.jpg
/home/pi/Desktop/images/27012025/02/39/image_27012025_02_39_02_686801_0003.jpg
/home/pi/Desktop/images/27012025/02/40/image_27012025_02_40_02_200435_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331840029","1331839794","1331840139","1331840136","1331839789","1331840132"],"photo_ids_order":["1331839789","1331839794","1331840029","1331840132","1331840136","1331840139"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/5d433e16d81d516304a34c9bc43fc141.jpg","text":"TemporaryFile(/tmp/multipartBody5681848095911850483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737946047859,"filename":"image_27012025_02_39_02_686801_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/941430b8e5d892e7008b36f0259dcacd.jpg","text":"TemporaryFile(/tmp/multipartBody8312754092338551614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737946047859,"filename":"image_27012025_02_39_02_686801_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/611015240a96298f7e01d195b4240b33.jpg","text":"TemporaryFile(/tmp/multipartBody7253930079366467772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737946047859,"filename":"image_27012025_02_40_02_200435_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/58ed5b69aa5dfbdf87e907c83c28c14a.jpg","text":"TemporaryFile(/tmp/multipartBody7769255539707706109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737946047859,"filename":"image_27012025_02_39_02_686801_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/7dd557d2447a471a206f5a32b9dda5b2.jpg","text":"TemporaryFile(/tmp/multipartBody5994472674010621250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737946047859,"filename":"image_27012025_02_38_02_134792_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/5248176b47d9dbf35989c225a82c80a3.jpg","text":"TemporaryFile(/tmp/multipartBody3071670541271855852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737946047859,"filename":"image_27012025_02_39_02_686801_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331840029","file1":"1331839794","file0":"1331839789","file4":"1331840136","file5":"1331840139","file3":"1331840132"},"map_files_photo_id_array":[{"photo_id":"1331840139","filename":"file5"},{"photo_id":"1331840029","filename":"file2"},{"photo_id":"1331840136","filename":"file4"},{"photo_id":"1331839794","filename":"file1"},{"photo_id":"1331839789","filename":"file0"},{"photo_id":"1331840132","filename":"file3"}],"portfolio_id":19942284,"hashtag_by_photo_ids":[{"1331840029":["hashtag1","hashtag2"]},{"1331839794":["hashtag1","hashtag2"]},{"1331840139":["hashtag1","hashtag2"]},{"1331840136":["hashtag1","hashtag2"]},{"1331839789":["hashtag1","hashtag2"]},{"1331840132":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942284 used, photo_id : ArrayBuffer(1331840029, 1331839794, 1331840139, 1331840136, 1331839789, 1331840132)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 105.09374642372131 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-27 03:47:21.994267
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/02/40/image_27012025_02_40_02_200435_0001.jpg', '/home/pi/Desktop/images/27012025/02/40/image_27012025_02_40_02_200435_0002.jpg', '/home/pi/Desktop/images/27012025/02/40/image_27012025_02_40_02_200435_0003.jpg', '/home/pi/Desktop/images/27012025/02/41/image_27012025_02_41_02_759823_0000.jpg', '/home/pi/Desktop/images/27012025/02/41/image_27012025_02_41_02_759823_0001.jpg', '/home/pi/Desktop/images/27012025/02/41/image_27012025_02_41_02_759823_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/02/40/image_27012025_02_40_02_200435_0001.jpg
/home/pi/Desktop/images/27012025/02/40/image_27012025_02_40_02_200435_0002.jpg
/home/pi/Desktop/images/27012025/02/40/image_27012025_02_40_02_200435_0003.jpg
/home/pi/Desktop/images/27012025/02/41/image_27012025_02_41_02_759823_0000.jpg
/home/pi/Desktop/images/27012025/02/41/image_27012025_02_41_02_759823_0001.jpg
/home/pi/Desktop/images/27012025/02/41/image_27012025_02_41_02_759823_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331840485","1331840499","1331840484","1331840493","1331840496","1331840489"],"photo_ids_order":["1331840484","1331840485","1331840489","1331840493","1331840496","1331840499"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/0172b246007e538ce55d29683259ba83.jpg","text":"TemporaryFile(/tmp/multipartBody1489211536024803557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737946167882,"filename":"image_27012025_02_40_02_200435_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/2d7be4ab0beae1f412f91de4d45c88ab.jpg","text":"TemporaryFile(/tmp/multipartBody678062565958964270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737946167882,"filename":"image_27012025_02_41_02_759823_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/e0b25f1dbfa84c2b40718a7d5accab44.jpg","text":"TemporaryFile(/tmp/multipartBody3497179281248975444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737946167882,"filename":"image_27012025_02_40_02_200435_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/44e872c70f941deb783bf0a2b9e03835.jpg","text":"TemporaryFile(/tmp/multipartBody173526652402457086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737946167882,"filename":"image_27012025_02_41_02_759823_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/ceba34acf72ec15597d2f56459e57ad4.jpg","text":"TemporaryFile(/tmp/multipartBody6263647467363389091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737946167882,"filename":"image_27012025_02_41_02_759823_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/2e2fc7c65c61fe514abe802a37b8452d.jpg","text":"TemporaryFile(/tmp/multipartBody5834746327063312956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737946167882,"filename":"image_27012025_02_40_02_200435_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331840489","file1":"1331840485","file0":"1331840484","file4":"1331840496","file5":"1331840499","file3":"1331840493"},"map_files_photo_id_array":[{"photo_id":"1331840499","filename":"file5"},{"photo_id":"1331840489","filename":"file2"},{"photo_id":"1331840496","filename":"file4"},{"photo_id":"1331840485","filename":"file1"},{"photo_id":"1331840484","filename":"file0"},{"photo_id":"1331840493","filename":"file3"}],"portfolio_id":19942284,"hashtag_by_photo_ids":[{"1331840485":["hashtag1","hashtag2"]},{"1331840499":["hashtag1","hashtag2"]},{"1331840484":["hashtag1","hashtag2"]},{"1331840493":["hashtag1","hashtag2"]},{"1331840496":["hashtag1","hashtag2"]},{"1331840489":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942284 used, photo_id : ArrayBuffer(1331840485, 1331840499, 1331840484, 1331840493, 1331840496, 1331840489)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 106.45265674591064 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-27 03:49:22.211450
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/02/41/image_27012025_02_41_02_759823_0003.jpg', '/home/pi/Desktop/images/27012025/02/42/image_27012025_02_42_02_261853_0000.jpg', '/home/pi/Desktop/images/27012025/02/42/image_27012025_02_42_02_261853_0001.jpg', '/home/pi/Desktop/images/27012025/02/42/image_27012025_02_42_02_261853_0002.jpg', '/home/pi/Desktop/images/27012025/02/42/image_27012025_02_42_02_261853_0003.jpg', '/home/pi/Desktop/images/27012025/02/43/image_27012025_02_43_02_757955_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/02/41/image_27012025_02_41_02_759823_0003.jpg
/home/pi/Desktop/images/27012025/02/42/image_27012025_02_42_02_261853_0000.jpg
/home/pi/Desktop/images/27012025/02/42/image_27012025_02_42_02_261853_0001.jpg
/home/pi/Desktop/images/27012025/02/42/image_27012025_02_42_02_261853_0002.jpg
/home/pi/Desktop/images/27012025/02/42/image_27012025_02_42_02_261853_0003.jpg
/home/pi/Desktop/images/27012025/02/43/image_27012025_02_43_02_757955_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331840569","1331840563","1331840566","1331840576","1331840573","1331840561"],"photo_ids_order":["1331840561","1331840563","1331840566","1331840569","1331840573","1331840576"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/b939d8d56b34d5407ae39195d99406f2.jpg","text":"TemporaryFile(/tmp/multipartBody440094124006195466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737946287623,"filename":"image_27012025_02_42_02_261853_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/8209862e05ada7c405c19b2995bb238f.jpg","text":"TemporaryFile(/tmp/multipartBody7029294412398318455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737946287623,"filename":"image_27012025_02_42_02_261853_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/022187ebf0dc28d59947acfb8917a33d.jpg","text":"TemporaryFile(/tmp/multipartBody3883534669850709820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737946287623,"filename":"image_27012025_02_42_02_261853_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/348519ed91060dcafdca2a26aa74a2ef.jpg","text":"TemporaryFile(/tmp/multipartBody2385252544934690089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737946287623,"filename":"image_27012025_02_43_02_757955_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/b9d37e9fa15cf5bade81c883b4f50a60.jpg","text":"TemporaryFile(/tmp/multipartBody9011153275913496372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737946287623,"filename":"image_27012025_02_42_02_261853_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/aa13f88fff6d1e578409afb0d4854374.jpg","text":"TemporaryFile(/tmp/multipartBody7275789799644908594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737946287623,"filename":"image_27012025_02_41_02_759823_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331840566","file1":"1331840563","file0":"1331840561","file4":"1331840573","file5":"1331840576","file3":"1331840569"},"map_files_photo_id_array":[{"photo_id":"1331840576","filename":"file5"},{"photo_id":"1331840566","filename":"file2"},{"photo_id":"1331840573","filename":"file4"},{"photo_id":"1331840563","filename":"file1"},{"photo_id":"1331840561","filename":"file0"},{"photo_id":"1331840569","filename":"file3"}],"portfolio_id":19942284,"hashtag_by_photo_ids":[{"1331840569":["hashtag1","hashtag2"]},{"1331840563":["hashtag1","hashtag2"]},{"1331840566":["hashtag1","hashtag2"]},{"1331840576":["hashtag1","hashtag2"]},{"1331840573":["hashtag1","hashtag2"]},{"1331840561":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942284 used, photo_id : ArrayBuffer(1331840569, 1331840563, 1331840566, 1331840576, 1331840573, 1331840561)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 105.10015320777893 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-27 03:51:22.195121
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/02/43/image_27012025_02_43_02_757955_0001.jpg', '/home/pi/Desktop/images/27012025/02/43/image_27012025_02_43_02_757955_0002.jpg', '/home/pi/Desktop/images/27012025/02/43/image_27012025_02_43_02_757955_0003.jpg', '/home/pi/Desktop/images/27012025/02/44/image_27012025_02_44_02_333146_0000.jpg', '/home/pi/Desktop/images/27012025/02/44/image_27012025_02_44_02_333146_0001.jpg', '/home/pi/Desktop/images/27012025/02/44/image_27012025_02_44_02_333146_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/02/43/image_27012025_02_43_02_757955_0001.jpg
/home/pi/Desktop/images/27012025/02/43/image_27012025_02_43_02_757955_0002.jpg
/home/pi/Desktop/images/27012025/02/43/image_27012025_02_43_02_757955_0003.jpg
/home/pi/Desktop/images/27012025/02/44/image_27012025_02_44_02_333146_0000.jpg
/home/pi/Desktop/images/27012025/02/44/image_27012025_02_44_02_333146_0001.jpg
/home/pi/Desktop/images/27012025/02/44/image_27012025_02_44_02_333146_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331840662","1331840641","1331840647","1331840640","1331840658","1331840651"],"photo_ids_order":["1331840640","1331840641","1331840647","1331840651","1331840658","1331840662"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/578365c9e823006a94fa418d26e163a3.jpg","text":"TemporaryFile(/tmp/multipartBody1138525869066113949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737946404158,"filename":"image_27012025_02_44_02_333146_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/b742a816df27b74e4ebc26ed54d9ec23.jpg","text":"TemporaryFile(/tmp/multipartBody3311773867276498693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737946404158,"filename":"image_27012025_02_43_02_757955_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/0a30d472a0073af64800f5563e09f901.jpg","text":"TemporaryFile(/tmp/multipartBody8329133855312586965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737946404158,"filename":"image_27012025_02_43_02_757955_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/e9f6b3795a04ed2f5b9992e1ff974b88.jpg","text":"TemporaryFile(/tmp/multipartBody2862347309186955848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737946404158,"filename":"image_27012025_02_43_02_757955_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/ad8f276d57ef2edd041f814bba011dc7.jpg","text":"TemporaryFile(/tmp/multipartBody8027101244650872569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737946404158,"filename":"image_27012025_02_44_02_333146_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/d5b89a08f5e30e79b03fd6953eeb7911.jpg","text":"TemporaryFile(/tmp/multipartBody8293316259778566394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737946404158,"filename":"image_27012025_02_44_02_333146_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331840647","file1":"1331840641","file0":"1331840640","file4":"1331840658","file5":"1331840662","file3":"1331840651"},"map_files_photo_id_array":[{"photo_id":"1331840662","filename":"file5"},{"photo_id":"1331840647","filename":"file2"},{"photo_id":"1331840658","filename":"file4"},{"photo_id":"1331840641","filename":"file1"},{"photo_id":"1331840640","filename":"file0"},{"photo_id":"1331840651","filename":"file3"}],"portfolio_id":19942284,"hashtag_by_photo_ids":[{"1331840662":["hashtag1","hashtag2"]},{"1331840641":["hashtag1","hashtag2"]},{"1331840647":["hashtag1","hashtag2"]},{"1331840640":["hashtag1","hashtag2"]},{"1331840658":["hashtag1","hashtag2"]},{"1331840651":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942284 used, photo_id : ArrayBuffer(1331840662, 1331840641, 1331840647, 1331840640, 1331840658, 1331840651)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 105.85395121574402 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-27 03:53:22.411414
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/02/44/image_27012025_02_44_02_333146_0003.jpg', '/home/pi/Desktop/images/27012025/02/45/image_27012025_02_45_02_825536_0000.jpg', '/home/pi/Desktop/images/27012025/02/45/image_27012025_02_45_02_825536_0001.jpg', '/home/pi/Desktop/images/27012025/02/45/image_27012025_02_45_02_825536_0002.jpg', '/home/pi/Desktop/images/27012025/02/45/image_27012025_02_45_02_825536_0003.jpg', '/home/pi/Desktop/images/27012025/02/46/image_27012025_02_46_02_358615_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/02/44/image_27012025_02_44_02_333146_0003.jpg
/home/pi/Desktop/images/27012025/02/45/image_27012025_02_45_02_825536_0000.jpg
/home/pi/Desktop/images/27012025/02/45/image_27012025_02_45_02_825536_0001.jpg
/home/pi/Desktop/images/27012025/02/45/image_27012025_02_45_02_825536_0002.jpg
/home/pi/Desktop/images/27012025/02/45/image_27012025_02_45_02_825536_0003.jpg
/home/pi/Desktop/images/27012025/02/46/image_27012025_02_46_02_358615_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331840782","1331840803","1331840812","1331840796","1331840723","1331840807"],"photo_ids_order":["1331840723","1331840782","1331840796","1331840803","1331840807","1331840812"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/01a2a3a83ec1a4f58dc6155ff25989b5.jpg","text":"TemporaryFile(/tmp/multipartBody8333074133721718335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737946520182,"filename":"image_27012025_02_45_02_825536_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/7733061399498e0b36b280858314f6d3.jpg","text":"TemporaryFile(/tmp/multipartBody1166591115019063679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737946520182,"filename":"image_27012025_02_45_02_825536_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/dd0a4e3173a16836f5517965970cc60d.jpg","text":"TemporaryFile(/tmp/multipartBody3806657529319368693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737946520182,"filename":"image_27012025_02_46_02_358615_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/49569ac0a3bf5a5b0d3f6078c9d29616.jpg","text":"TemporaryFile(/tmp/multipartBody7721402655570654303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737946520182,"filename":"image_27012025_02_45_02_825536_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/c441855aa29933aae1c916903c75101c.jpg","text":"TemporaryFile(/tmp/multipartBody79318989513548555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737946520182,"filename":"image_27012025_02_44_02_333146_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/ca70601b8ed80e53b4a82c8d27210194.jpg","text":"TemporaryFile(/tmp/multipartBody5826389298315825101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737946520182,"filename":"image_27012025_02_45_02_825536_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331840796","file1":"1331840782","file0":"1331840723","file4":"1331840807","file5":"1331840812","file3":"1331840803"},"map_files_photo_id_array":[{"photo_id":"1331840812","filename":"file5"},{"photo_id":"1331840796","filename":"file2"},{"photo_id":"1331840807","filename":"file4"},{"photo_id":"1331840782","filename":"file1"},{"photo_id":"1331840723","filename":"file0"},{"photo_id":"1331840803","filename":"file3"}],"portfolio_id":19942284,"hashtag_by_photo_ids":[{"1331840782":["hashtag1","hashtag2"]},{"1331840803":["hashtag1","hashtag2"]},{"1331840812":["hashtag1","hashtag2"]},{"1331840796":["hashtag1","hashtag2"]},{"1331840723":["hashtag1","hashtag2"]},{"1331840807":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942284 used, photo_id : ArrayBuffer(1331840782, 1331840803, 1331840812, 1331840796, 1331840723, 1331840807)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 99.12661051750183 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 03:55:02.938635
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/02/46/image_27012025_02_46_02_358615_0001.jpg', '/home/pi/Desktop/images/27012025/02/46/image_27012025_02_46_02_358615_0002.jpg', '/home/pi/Desktop/images/27012025/02/46/image_27012025_02_46_02_358615_0003.jpg', '/home/pi/Desktop/images/27012025/02/47/image_27012025_02_47_02_915039_0000.jpg', '/home/pi/Desktop/images/27012025/02/47/image_27012025_02_47_02_915039_0001.jpg', '/home/pi/Desktop/images/27012025/02/47/image_27012025_02_47_02_915039_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/02/46/image_27012025_02_46_02_358615_0001.jpg
/home/pi/Desktop/images/27012025/02/46/image_27012025_02_46_02_358615_0002.jpg
/home/pi/Desktop/images/27012025/02/46/image_27012025_02_46_02_358615_0003.jpg
/home/pi/Desktop/images/27012025/02/47/image_27012025_02_47_02_915039_0000.jpg
/home/pi/Desktop/images/27012025/02/47/image_27012025_02_47_02_915039_0001.jpg
/home/pi/Desktop/images/27012025/02/47/image_27012025_02_47_02_915039_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 58.469746351242065 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-27 03:56:22.090947
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/02/46/image_27012025_02_46_02_358615_0001.jpg', '/home/pi/Desktop/images/27012025/02/46/image_27012025_02_46_02_358615_0002.jpg', '/home/pi/Desktop/images/27012025/02/46/image_27012025_02_46_02_358615_0003.jpg', '/home/pi/Desktop/images/27012025/02/47/image_27012025_02_47_02_915039_0000.jpg', '/home/pi/Desktop/images/27012025/02/47/image_27012025_02_47_02_915039_0001.jpg', '/home/pi/Desktop/images/27012025/02/47/image_27012025_02_47_02_915039_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/02/46/image_27012025_02_46_02_358615_0001.jpg
/home/pi/Desktop/images/27012025/02/46/image_27012025_02_46_02_358615_0002.jpg
/home/pi/Desktop/images/27012025/02/46/image_27012025_02_46_02_358615_0003.jpg
/home/pi/Desktop/images/27012025/02/47/image_27012025_02_47_02_915039_0000.jpg
/home/pi/Desktop/images/27012025/02/47/image_27012025_02_47_02_915039_0001.jpg
/home/pi/Desktop/images/27012025/02/47/image_27012025_02_47_02_915039_0003.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331841366","1331841351","1331841321","1331841362","1331841359","1331841305"],"photo_ids_order":["1331841305","1331841321","1331841351","1331841359","1331841362","1331841366"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/4ef3853371bd37fc35db4f5015476a80.jpg","text":"TemporaryFile(/tmp/multipartBody6061925791813926663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737946700869,"filename":"image_27012025_02_47_02_915039_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/7fcc3c8b084199f8f54edb6fccc79125.jpg","text":"TemporaryFile(/tmp/multipartBody6524464754149168792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737946700869,"filename":"image_27012025_02_46_02_358615_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/12a6cd3ae0db3d8f38bfd64a70ad809f.jpg","text":"TemporaryFile(/tmp/multipartBody8596736646999824516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737946700869,"filename":"image_27012025_02_46_02_358615_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/1d061dd685ee3313218d90aa8f5a2b6a.jpg","text":"TemporaryFile(/tmp/multipartBody334125750154835248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737946700869,"filename":"image_27012025_02_47_02_915039_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/2391a803398e30d10ee879d4413dd273.jpg","text":"TemporaryFile(/tmp/multipartBody8334878847235347650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737946700869,"filename":"image_27012025_02_47_02_915039_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/852cce76af824b068603585036d76926.jpg","text":"TemporaryFile(/tmp/multipartBody5110246663382395762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737946700869,"filename":"image_27012025_02_46_02_358615_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331841351","file1":"1331841321","file0":"1331841305","file4":"1331841362","file5":"1331841366","file3":"1331841359"},"map_files_photo_id_array":[{"photo_id":"1331841366","filename":"file5"},{"photo_id":"1331841351","filename":"file2"},{"photo_id":"1331841362","filename":"file4"},{"photo_id":"1331841321","filename":"file1"},{"photo_id":"1331841305","filename":"file0"},{"photo_id":"1331841359","filename":"file3"}],"portfolio_id":19942284,"hashtag_by_photo_ids":[{"1331841366":["hashtag1","hashtag2"]},{"1331841351":["hashtag1","hashtag2"]},{"1331841321":["hashtag1","hashtag2"]},{"1331841362":["hashtag1","hashtag2"]},{"1331841359":["hashtag1","hashtag2"]},{"1331841305":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942284 used, photo_id : ArrayBuffer(1331841366, 1331841351, 1331841321, 1331841362, 1331841359, 1331841305)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 97.41340374946594 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 03:59:02.858168
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/02/48/image_27012025_02_48_02_412050_0000.jpg', '/home/pi/Desktop/images/27012025/02/48/image_27012025_02_48_02_412050_0001.jpg', '/home/pi/Desktop/images/27012025/02/48/image_27012025_02_48_02_412050_0002.jpg', '/home/pi/Desktop/images/27012025/02/48/image_27012025_02_48_02_412050_0003.jpg', '/home/pi/Desktop/images/27012025/02/49/image_27012025_02_49_02_913955_0000.jpg', '/home/pi/Desktop/images/27012025/02/49/image_27012025_02_49_02_913955_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/02/48/image_27012025_02_48_02_412050_0000.jpg
/home/pi/Desktop/images/27012025/02/48/image_27012025_02_48_02_412050_0001.jpg
/home/pi/Desktop/images/27012025/02/48/image_27012025_02_48_02_412050_0002.jpg
/home/pi/Desktop/images/27012025/02/48/image_27012025_02_48_02_412050_0003.jpg
/home/pi/Desktop/images/27012025/02/49/image_27012025_02_49_02_913955_0000.jpg
/home/pi/Desktop/images/27012025/02/49/image_27012025_02_49_02_913955_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331842179","1331842187","1331842196","1331842175","1331842183","1331842194"],"photo_ids_order":["1331842175","1331842179","1331842183","1331842187","1331842194","1331842196"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/6111a6717b9748d94b934cc7189afa12.jpg","text":"TemporaryFile(/tmp/multipartBody802815234257326337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737946863247,"filename":"image_27012025_02_48_02_412050_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/1c895efe290e47e70a2cfd9ddaaa255b.jpg","text":"TemporaryFile(/tmp/multipartBody4229329670093779940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737946863247,"filename":"image_27012025_02_48_02_412050_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/5fed5ee4c80011fc8065b3264293d39a.jpg","text":"TemporaryFile(/tmp/multipartBody6119955532858500284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737946863247,"filename":"image_27012025_02_49_02_913955_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/db52f5d2f7beab331471d4f3fac975ac.jpg","text":"TemporaryFile(/tmp/multipartBody3797655310233903095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737946863247,"filename":"image_27012025_02_48_02_412050_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/4c79def0ed342ca987412c1b7d4e0719.jpg","text":"TemporaryFile(/tmp/multipartBody3866222444748903995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737946863247,"filename":"image_27012025_02_48_02_412050_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/9434995765d01e540fcfb7e824b26969.jpg","text":"TemporaryFile(/tmp/multipartBody1804036633952672500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737946863247,"filename":"image_27012025_02_49_02_913955_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331842183","file1":"1331842179","file0":"1331842175","file4":"1331842194","file5":"1331842196","file3":"1331842187"},"map_files_photo_id_array":[{"photo_id":"1331842196","filename":"file5"},{"photo_id":"1331842183","filename":"file2"},{"photo_id":"1331842194","filename":"file4"},{"photo_id":"1331842179","filename":"file1"},{"photo_id":"1331842175","filename":"file0"},{"photo_id":"1331842187","filename":"file3"}],"portfolio_id":19942284,"hashtag_by_photo_ids":[{"1331842179":["hashtag1","hashtag2"]},{"1331842187":["hashtag1","hashtag2"]},{"1331842196":["hashtag1","hashtag2"]},{"1331842175":["hashtag1","hashtag2"]},{"1331842183":["hashtag1","hashtag2"]},{"1331842194":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942284 used, photo_id : ArrayBuffer(1331842179, 1331842187, 1331842196, 1331842175, 1331842183, 1331842194)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 99.68075680732727 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 04:01:03.326982
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/02/49/image_27012025_02_49_02_913955_0003.jpg', '/home/pi/Desktop/images/27012025/02/50/image_27012025_02_50_02_416787_0000.jpg', '/home/pi/Desktop/images/27012025/02/50/image_27012025_02_50_02_416787_0002.jpg', '/home/pi/Desktop/images/27012025/02/51/image_27012025_02_51_02_872085_0001.jpg', '/home/pi/Desktop/images/27012025/02/51/image_27012025_02_51_02_872085_0002.jpg', '/home/pi/Desktop/images/27012025/02/52/image_27012025_02_52_02_379053_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/02/49/image_27012025_02_49_02_913955_0003.jpg
/home/pi/Desktop/images/27012025/02/50/image_27012025_02_50_02_416787_0000.jpg
/home/pi/Desktop/images/27012025/02/50/image_27012025_02_50_02_416787_0002.jpg
/home/pi/Desktop/images/27012025/02/51/image_27012025_02_51_02_872085_0001.jpg
/home/pi/Desktop/images/27012025/02/51/image_27012025_02_51_02_872085_0002.jpg
/home/pi/Desktop/images/27012025/02/52/image_27012025_02_52_02_379053_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331842284","1331842286","1331842280","1331842270","1331842273","1331842276"],"photo_ids_order":["1331842270","1331842273","1331842276","1331842280","1331842284","1331842286"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/28f67905a0586a7d01af0e048ca42979.jpg","text":"TemporaryFile(/tmp/multipartBody1796668953794689471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737946980948,"filename":"image_27012025_02_51_02_872085_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/3b4c1ece2eed9b72652d4ee2c8acb72a.jpg","text":"TemporaryFile(/tmp/multipartBody2841555770436996535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737946980948,"filename":"image_27012025_02_52_02_379053_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/4865fcccecf234e4cb0e9d3c84615a41.jpg","text":"TemporaryFile(/tmp/multipartBody6221492931561504868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737946980948,"filename":"image_27012025_02_51_02_872085_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/5cea41153c82268789ad1414e74f3ec7.jpg","text":"TemporaryFile(/tmp/multipartBody1572977359018947052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737946980948,"filename":"image_27012025_02_49_02_913955_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/c8319190721c04adf4561582d013881e.jpg","text":"TemporaryFile(/tmp/multipartBody3509348728862930590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737946980948,"filename":"image_27012025_02_50_02_416787_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/ce682a3c137796325a9e5ffb8b18c5e3.jpg","text":"TemporaryFile(/tmp/multipartBody8423337083628426867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737946980948,"filename":"image_27012025_02_50_02_416787_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331842276","file1":"1331842273","file0":"1331842270","file4":"1331842284","file5":"1331842286","file3":"1331842280"},"map_files_photo_id_array":[{"photo_id":"1331842286","filename":"file5"},{"photo_id":"1331842276","filename":"file2"},{"photo_id":"1331842284","filename":"file4"},{"photo_id":"1331842273","filename":"file1"},{"photo_id":"1331842270","filename":"file0"},{"photo_id":"1331842280","filename":"file3"}],"portfolio_id":19942284,"hashtag_by_photo_ids":[{"1331842284":["hashtag1","hashtag2"]},{"1331842286":["hashtag1","hashtag2"]},{"1331842280":["hashtag1","hashtag2"]},{"1331842270":["hashtag1","hashtag2"]},{"1331842273":["hashtag1","hashtag2"]},{"1331842276":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942284 used, photo_id : ArrayBuffer(1331842284, 1331842286, 1331842280, 1331842270, 1331842273, 1331842276)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 99.68007302284241 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 04:03:02.367472
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/02/53/image_27012025_02_53_02_928487_0003.jpg', '/home/pi/Desktop/images/27012025/02/54/image_27012025_02_54_02_500910_0001.jpg', '/home/pi/Desktop/images/27012025/02/54/image_27012025_02_54_02_500910_0002.jpg', '/home/pi/Desktop/images/27012025/02/54/image_27012025_02_54_02_500910_0003.jpg', '/home/pi/Desktop/images/27012025/02/55/image_27012025_02_55_03_127380_0000.jpg', '/home/pi/Desktop/images/27012025/02/55/image_27012025_02_55_03_127380_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/02/53/image_27012025_02_53_02_928487_0003.jpg
/home/pi/Desktop/images/27012025/02/54/image_27012025_02_54_02_500910_0001.jpg
/home/pi/Desktop/images/27012025/02/54/image_27012025_02_54_02_500910_0002.jpg
/home/pi/Desktop/images/27012025/02/54/image_27012025_02_54_02_500910_0003.jpg
/home/pi/Desktop/images/27012025/02/55/image_27012025_02_55_03_127380_0000.jpg
/home/pi/Desktop/images/27012025/02/55/image_27012025_02_55_03_127380_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331843232","1331843235","1331843036","1331843237","1331842532","1331842791"],"photo_ids_order":["1331842532","1331842791","1331843036","1331843232","1331843235","1331843237"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/b85dcb1d2a49ee297304390be9c081fd.jpg","text":"TemporaryFile(/tmp/multipartBody7660143324656016299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737947100368,"filename":"image_27012025_02_54_02_500910_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/75859781abd39fa5e01169cf1d2dca03.jpg","text":"TemporaryFile(/tmp/multipartBody9024743452965289946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737947100368,"filename":"image_27012025_02_55_03_127380_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/57b32d2f7e3989809ff20876d78e9049.jpg","text":"TemporaryFile(/tmp/multipartBody7705223736751601214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737947100368,"filename":"image_27012025_02_54_02_500910_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/afaf3b22d48b355216b1f23f3a6b0bff.jpg","text":"TemporaryFile(/tmp/multipartBody4380402411517543673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737947100368,"filename":"image_27012025_02_55_03_127380_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/2cf8614043b3b00d9af6afd6714f5ceb.jpg","text":"TemporaryFile(/tmp/multipartBody5466947810387478684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737947100368,"filename":"image_27012025_02_53_02_928487_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/8c5935a317af247ea661eb970cf411b9.jpg","text":"TemporaryFile(/tmp/multipartBody1842877242802336958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737947100368,"filename":"image_27012025_02_54_02_500910_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331843036","file1":"1331842791","file0":"1331842532","file4":"1331843235","file5":"1331843237","file3":"1331843232"},"map_files_photo_id_array":[{"photo_id":"1331843237","filename":"file5"},{"photo_id":"1331843036","filename":"file2"},{"photo_id":"1331843235","filename":"file4"},{"photo_id":"1331842791","filename":"file1"},{"photo_id":"1331842532","filename":"file0"},{"photo_id":"1331843232","filename":"file3"}],"portfolio_id":19942284,"hashtag_by_photo_ids":[{"1331843232":["hashtag1","hashtag2"]},{"1331843235":["hashtag1","hashtag2"]},{"1331843036":["hashtag1","hashtag2"]},{"1331843237":["hashtag1","hashtag2"]},{"1331842532":["hashtag1","hashtag2"]},{"1331842791":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942284 used, photo_id : ArrayBuffer(1331843232, 1331843235, 1331843036, 1331843237, 1331842532, 1331842791)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 99.03082537651062 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 04:05:02.466933
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/02/55/image_27012025_02_55_03_127380_0002.jpg', '/home/pi/Desktop/images/27012025/02/55/image_27012025_02_55_03_127380_0003.jpg', '/home/pi/Desktop/images/27012025/02/56/image_27012025_02_56_02_604817_0000.jpg', '/home/pi/Desktop/images/27012025/02/56/image_27012025_02_56_02_604817_0001.jpg', '/home/pi/Desktop/images/27012025/02/56/image_27012025_02_56_02_604817_0002.jpg', '/home/pi/Desktop/images/27012025/02/56/image_27012025_02_56_02_604817_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/02/55/image_27012025_02_55_03_127380_0002.jpg
/home/pi/Desktop/images/27012025/02/55/image_27012025_02_55_03_127380_0003.jpg
/home/pi/Desktop/images/27012025/02/56/image_27012025_02_56_02_604817_0000.jpg
/home/pi/Desktop/images/27012025/02/56/image_27012025_02_56_02_604817_0001.jpg
/home/pi/Desktop/images/27012025/02/56/image_27012025_02_56_02_604817_0002.jpg
/home/pi/Desktop/images/27012025/02/56/image_27012025_02_56_02_604817_0003.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 61.43599200248718 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-27 04:06:22.677567
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/02/55/image_27012025_02_55_03_127380_0002.jpg', '/home/pi/Desktop/images/27012025/02/55/image_27012025_02_55_03_127380_0003.jpg', '/home/pi/Desktop/images/27012025/02/56/image_27012025_02_56_02_604817_0000.jpg', '/home/pi/Desktop/images/27012025/02/56/image_27012025_02_56_02_604817_0001.jpg', '/home/pi/Desktop/images/27012025/02/56/image_27012025_02_56_02_604817_0002.jpg', '/home/pi/Desktop/images/27012025/02/56/image_27012025_02_56_02_604817_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/02/55/image_27012025_02_55_03_127380_0002.jpg
/home/pi/Desktop/images/27012025/02/55/image_27012025_02_55_03_127380_0003.jpg
/home/pi/Desktop/images/27012025/02/56/image_27012025_02_56_02_604817_0000.jpg
/home/pi/Desktop/images/27012025/02/56/image_27012025_02_56_02_604817_0001.jpg
/home/pi/Desktop/images/27012025/02/56/image_27012025_02_56_02_604817_0002.jpg
/home/pi/Desktop/images/27012025/02/56/image_27012025_02_56_02_604817_0003.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331844431","1331844646","1331844124","1331844319","1331844546","1331844228"],"photo_ids_order":["1331844124","1331844228","1331844319","1331844431","1331844546","1331844646"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/b67f7ca9f64da3eeee704a45c951588c.jpg","text":"TemporaryFile(/tmp/multipartBody1048950771840516923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737947304442,"filename":"image_27012025_02_56_02_604817_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/ff91c614e80b7cd242bc688b8cae839d.jpg","text":"TemporaryFile(/tmp/multipartBody481158568285837285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737947304442,"filename":"image_27012025_02_56_02_604817_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/29c649a3b841093a7e2a42c6c1f7ead0.jpg","text":"TemporaryFile(/tmp/multipartBody4198350937410579519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737947304442,"filename":"image_27012025_02_55_03_127380_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/fb96f104950f5866458c27135359eb5d.jpg","text":"TemporaryFile(/tmp/multipartBody6290080561695178546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737947304442,"filename":"image_27012025_02_56_02_604817_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/76d0ebd04e9015a27808a93c8437d2df.jpg","text":"TemporaryFile(/tmp/multipartBody4485203358525317629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737947304442,"filename":"image_27012025_02_56_02_604817_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/f2e4cbfec23d40b47446ffba59bd0c2a.jpg","text":"TemporaryFile(/tmp/multipartBody765394516170940484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737947304442,"filename":"image_27012025_02_55_03_127380_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331844319","file1":"1331844228","file0":"1331844124","file4":"1331844546","file5":"1331844646","file3":"1331844431"},"map_files_photo_id_array":[{"photo_id":"1331844646","filename":"file5"},{"photo_id":"1331844319","filename":"file2"},{"photo_id":"1331844546","filename":"file4"},{"photo_id":"1331844228","filename":"file1"},{"photo_id":"1331844124","filename":"file0"},{"photo_id":"1331844431","filename":"file3"}],"portfolio_id":19942284,"hashtag_by_photo_ids":[{"1331844431":["hashtag1","hashtag2"]},{"1331844646":["hashtag1","hashtag2"]},{"1331844124":["hashtag1","hashtag2"]},{"1331844319":["hashtag1","hashtag2"]},{"1331844546":["hashtag1","hashtag2"]},{"1331844228":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942284 used, photo_id : ArrayBuffer(1331844431, 1331844646, 1331844124, 1331844319, 1331844546, 1331844228)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 102.32060647010803 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-27 04:08:22.722412
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/02/57/image_27012025_02_57_02_106874_0000.jpg', '/home/pi/Desktop/images/27012025/02/57/image_27012025_02_57_02_106874_0001.jpg', '/home/pi/Desktop/images/27012025/02/57/image_27012025_02_57_02_106874_0002.jpg', '/home/pi/Desktop/images/27012025/02/57/image_27012025_02_57_02_106874_0003.jpg', '/home/pi/Desktop/images/27012025/02/58/image_27012025_02_58_02_607884_0000.jpg', '/home/pi/Desktop/images/27012025/02/58/image_27012025_02_58_02_607884_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/02/57/image_27012025_02_57_02_106874_0000.jpg
/home/pi/Desktop/images/27012025/02/57/image_27012025_02_57_02_106874_0001.jpg
/home/pi/Desktop/images/27012025/02/57/image_27012025_02_57_02_106874_0002.jpg
/home/pi/Desktop/images/27012025/02/57/image_27012025_02_57_02_106874_0003.jpg
/home/pi/Desktop/images/27012025/02/58/image_27012025_02_58_02_607884_0000.jpg
/home/pi/Desktop/images/27012025/02/58/image_27012025_02_58_02_607884_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331845229","1331845136","1331845301","1331845174","1331845401","1331845139"],"photo_ids_order":["1331845136","1331845139","1331845174","1331845229","1331845301","1331845401"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/d6a17a2520dd942833e3e41ba19f1e81.jpg","text":"TemporaryFile(/tmp/multipartBody6013760141925836733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737947424251,"filename":"image_27012025_02_57_02_106874_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/c13bd87be94705fb586cd2f84b6d2191.jpg","text":"TemporaryFile(/tmp/multipartBody6045016007294847413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737947424251,"filename":"image_27012025_02_57_02_106874_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/46f6492112d61d439e60bb5976a57111.jpg","text":"TemporaryFile(/tmp/multipartBody6063049026463906841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737947424251,"filename":"image_27012025_02_58_02_607884_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/e248c71b12b27d6c4638767b2940da48.jpg","text":"TemporaryFile(/tmp/multipartBody4872934661124787167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737947424251,"filename":"image_27012025_02_57_02_106874_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/a7a79674712a4def95fa9b2a8a83c89b.jpg","text":"TemporaryFile(/tmp/multipartBody5085297891778340633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737947424251,"filename":"image_27012025_02_58_02_607884_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/d65349eaad5098636b588bc870cb6734.jpg","text":"TemporaryFile(/tmp/multipartBody679784991363159046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737947424251,"filename":"image_27012025_02_57_02_106874_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331845174","file1":"1331845139","file0":"1331845136","file4":"1331845301","file5":"1331845401","file3":"1331845229"},"map_files_photo_id_array":[{"photo_id":"1331845401","filename":"file5"},{"photo_id":"1331845174","filename":"file2"},{"photo_id":"1331845301","filename":"file4"},{"photo_id":"1331845139","filename":"file1"},{"photo_id":"1331845136","filename":"file0"},{"photo_id":"1331845229","filename":"file3"}],"portfolio_id":19942284,"hashtag_by_photo_ids":[{"1331845229":["hashtag1","hashtag2"]},{"1331845136":["hashtag1","hashtag2"]},{"1331845301":["hashtag1","hashtag2"]},{"1331845174":["hashtag1","hashtag2"]},{"1331845401":["hashtag1","hashtag2"]},{"1331845139":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942284 used, photo_id : ArrayBuffer(1331845229, 1331845136, 1331845301, 1331845174, 1331845401, 1331845139)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 103.00945496559143 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-27 04:10:21.770789
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/02/58/image_27012025_02_58_02_607884_0002.jpg', '/home/pi/Desktop/images/27012025/02/58/image_27012025_02_58_02_607884_0003.jpg', '/home/pi/Desktop/images/27012025/02/59/image_27012025_02_59_03_066199_0000.jpg', '/home/pi/Desktop/images/27012025/02/59/image_27012025_02_59_03_066199_0001.jpg', '/home/pi/Desktop/images/27012025/02/59/image_27012025_02_59_03_066199_0002.jpg', '/home/pi/Desktop/images/27012025/02/59/image_27012025_02_59_03_066199_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/02/58/image_27012025_02_58_02_607884_0002.jpg
/home/pi/Desktop/images/27012025/02/58/image_27012025_02_58_02_607884_0003.jpg
/home/pi/Desktop/images/27012025/02/59/image_27012025_02_59_03_066199_0000.jpg
/home/pi/Desktop/images/27012025/02/59/image_27012025_02_59_03_066199_0001.jpg
/home/pi/Desktop/images/27012025/02/59/image_27012025_02_59_03_066199_0002.jpg
/home/pi/Desktop/images/27012025/02/59/image_27012025_02_59_03_066199_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 59.34029793739319 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-27 04:11:22.351656
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/02/58/image_27012025_02_58_02_607884_0002.jpg', '/home/pi/Desktop/images/27012025/02/58/image_27012025_02_58_02_607884_0003.jpg', '/home/pi/Desktop/images/27012025/02/59/image_27012025_02_59_03_066199_0000.jpg', '/home/pi/Desktop/images/27012025/02/59/image_27012025_02_59_03_066199_0001.jpg', '/home/pi/Desktop/images/27012025/02/59/image_27012025_02_59_03_066199_0002.jpg', '/home/pi/Desktop/images/27012025/02/59/image_27012025_02_59_03_066199_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/02/58/image_27012025_02_58_02_607884_0002.jpg
/home/pi/Desktop/images/27012025/02/58/image_27012025_02_58_02_607884_0003.jpg
/home/pi/Desktop/images/27012025/02/59/image_27012025_02_59_03_066199_0000.jpg
/home/pi/Desktop/images/27012025/02/59/image_27012025_02_59_03_066199_0001.jpg
/home/pi/Desktop/images/27012025/02/59/image_27012025_02_59_03_066199_0002.jpg
/home/pi/Desktop/images/27012025/02/59/image_27012025_02_59_03_066199_0003.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331848304","1331848229","1331848129","1331847994","1331848300","1331847823"],"photo_ids_order":["1331847823","1331847994","1331848129","1331848229","1331848300","1331848304"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/e5876d024e05b6e11743f8b5e3c3234c.jpg","text":"TemporaryFile(/tmp/multipartBody6908767016615693894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737947601958,"filename":"image_27012025_02_59_03_066199_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/1bc868cce652268753f8c7f80003397f.jpg","text":"TemporaryFile(/tmp/multipartBody2344897359021280780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737947601958,"filename":"image_27012025_02_59_03_066199_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/3c26ea20e0a631c51d549eff09bfbb62.jpg","text":"TemporaryFile(/tmp/multipartBody2820404361039558494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737947601958,"filename":"image_27012025_02_59_03_066199_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/8bd026163a7410997091c55010b76aa1.jpg","text":"TemporaryFile(/tmp/multipartBody8215417731481931722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737947601958,"filename":"image_27012025_02_58_02_607884_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/87051c62b6f0abb65d7519fca7335acd.jpg","text":"TemporaryFile(/tmp/multipartBody6574220615836717304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737947601958,"filename":"image_27012025_02_59_03_066199_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/404368855deb02593befee383fe5f91b.jpg","text":"TemporaryFile(/tmp/multipartBody1116183662328346630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737947601958,"filename":"image_27012025_02_58_02_607884_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331848129","file1":"1331847994","file0":"1331847823","file4":"1331848300","file5":"1331848304","file3":"1331848229"},"map_files_photo_id_array":[{"photo_id":"1331848304","filename":"file5"},{"photo_id":"1331848129","filename":"file2"},{"photo_id":"1331848300","filename":"file4"},{"photo_id":"1331847994","filename":"file1"},{"photo_id":"1331847823","filename":"file0"},{"photo_id":"1331848229","filename":"file3"}],"portfolio_id":19942284,"hashtag_by_photo_ids":[{"1331848304":["hashtag1","hashtag2"]},{"1331848229":["hashtag1","hashtag2"]},{"1331848129":["hashtag1","hashtag2"]},{"1331847994":["hashtag1","hashtag2"]},{"1331848300":["hashtag1","hashtag2"]},{"1331847823":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942284 used, photo_id : ArrayBuffer(1331848304, 1331848229, 1331848129, 1331847994, 1331848300, 1331847823)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 100.61101174354553 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-27 04:13:22.491037
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/03/00/image_27012025_03_00_02_239829_0000.jpg', '/home/pi/Desktop/images/27012025/03/00/image_27012025_03_00_02_239829_0001.jpg', '/home/pi/Desktop/images/27012025/03/00/image_27012025_03_00_02_239829_0002.jpg', '/home/pi/Desktop/images/27012025/03/00/image_27012025_03_00_02_239829_0003.jpg', '/home/pi/Desktop/images/27012025/03/01/image_27012025_03_01_02_935834_0000.jpg', '/home/pi/Desktop/images/27012025/03/01/image_27012025_03_01_02_935834_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/03/00/image_27012025_03_00_02_239829_0000.jpg
/home/pi/Desktop/images/27012025/03/00/image_27012025_03_00_02_239829_0001.jpg
/home/pi/Desktop/images/27012025/03/00/image_27012025_03_00_02_239829_0002.jpg
/home/pi/Desktop/images/27012025/03/00/image_27012025_03_00_02_239829_0003.jpg
/home/pi/Desktop/images/27012025/03/01/image_27012025_03_01_02_935834_0000.jpg
/home/pi/Desktop/images/27012025/03/01/image_27012025_03_01_02_935834_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331849240","1331849071","1331849245","1331849152","1331849254","1331849250"],"photo_ids_order":["1331849071","1331849152","1331849240","1331849245","1331849250","1331849254"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/1b4e255e7ff53b866af367387b805a22.jpg","text":"TemporaryFile(/tmp/multipartBody3361203848700817138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737947723700,"filename":"image_27012025_03_00_02_239829_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/187f687b2d7cc385d60463f3e73ba49e.jpg","text":"TemporaryFile(/tmp/multipartBody3834744264352526582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737947723700,"filename":"image_27012025_03_00_02_239829_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/4d9d05d56d960d94c6b1a14943a3312f.jpg","text":"TemporaryFile(/tmp/multipartBody7990620224646411397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737947723700,"filename":"image_27012025_03_00_02_239829_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/7b5792cd21eb79079ed6e304dd310dab.jpg","text":"TemporaryFile(/tmp/multipartBody126660017303443986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737947723700,"filename":"image_27012025_03_00_02_239829_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/0c7d1c786a573e39a385094e849a69df.jpg","text":"TemporaryFile(/tmp/multipartBody6977012065446915419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737947723700,"filename":"image_27012025_03_01_02_935834_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/ca0ed689ba6cf809eca1f6ccfc49ad92.jpg","text":"TemporaryFile(/tmp/multipartBody8440946684678769710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737947723700,"filename":"image_27012025_03_01_02_935834_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331849240","file1":"1331849152","file0":"1331849071","file4":"1331849250","file5":"1331849254","file3":"1331849245"},"map_files_photo_id_array":[{"photo_id":"1331849254","filename":"file5"},{"photo_id":"1331849240","filename":"file2"},{"photo_id":"1331849250","filename":"file4"},{"photo_id":"1331849152","filename":"file1"},{"photo_id":"1331849071","filename":"file0"},{"photo_id":"1331849245","filename":"file3"}],"portfolio_id":19942284,"hashtag_by_photo_ids":[{"1331849240":["hashtag1","hashtag2"]},{"1331849071":["hashtag1","hashtag2"]},{"1331849245":["hashtag1","hashtag2"]},{"1331849152":["hashtag1","hashtag2"]},{"1331849254":["hashtag1","hashtag2"]},{"1331849250":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942284 used, photo_id : ArrayBuffer(1331849240, 1331849071, 1331849245, 1331849152, 1331849254, 1331849250)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 101.31117463111877 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-27 04:15:22.443446
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/03/01/image_27012025_03_01_02_935834_0002.jpg', '/home/pi/Desktop/images/27012025/03/01/image_27012025_03_01_02_935834_0003.jpg', '/home/pi/Desktop/images/27012025/03/02/image_27012025_03_02_02_417102_0000.jpg', '/home/pi/Desktop/images/27012025/03/02/image_27012025_03_02_02_417102_0001.jpg', '/home/pi/Desktop/images/27012025/03/02/image_27012025_03_02_02_417102_0002.jpg', '/home/pi/Desktop/images/27012025/03/02/image_27012025_03_02_02_417102_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/03/01/image_27012025_03_01_02_935834_0002.jpg
/home/pi/Desktop/images/27012025/03/01/image_27012025_03_01_02_935834_0003.jpg
/home/pi/Desktop/images/27012025/03/02/image_27012025_03_02_02_417102_0000.jpg
/home/pi/Desktop/images/27012025/03/02/image_27012025_03_02_02_417102_0001.jpg
/home/pi/Desktop/images/27012025/03/02/image_27012025_03_02_02_417102_0002.jpg
/home/pi/Desktop/images/27012025/03/02/image_27012025_03_02_02_417102_0003.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331850048","1331850102","1331850095","1331849816","1331849790","1331850090"],"photo_ids_order":["1331849790","1331849816","1331850048","1331850090","1331850095","1331850102"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/4e90110dca70cb0b02fda2fb960da64a.jpg","text":"TemporaryFile(/tmp/multipartBody3504235542507330260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737947842626,"filename":"image_27012025_03_02_02_417102_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/8bab6e068546c5898b0c69ee50e84c98.jpg","text":"TemporaryFile(/tmp/multipartBody154477724205165647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737947842626,"filename":"image_27012025_03_02_02_417102_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/2e66fc9890ab29b01355fc4449b9b7ca.jpg","text":"TemporaryFile(/tmp/multipartBody5765324723006612299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737947842626,"filename":"image_27012025_03_02_02_417102_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/86a7bdb2a0d3e58f00dc6278343eb595.jpg","text":"TemporaryFile(/tmp/multipartBody1321461793792557533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737947842626,"filename":"image_27012025_03_01_02_935834_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/71bed760a3b0a1834de043780ef5c0cd.jpg","text":"TemporaryFile(/tmp/multipartBody7034441261572568861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737947842626,"filename":"image_27012025_03_01_02_935834_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/418381f07abe0f4e4e3b2c84244bfbeb.jpg","text":"TemporaryFile(/tmp/multipartBody6457347178904600903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737947842626,"filename":"image_27012025_03_02_02_417102_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331850048","file1":"1331849816","file0":"1331849790","file4":"1331850095","file5":"1331850102","file3":"1331850090"},"map_files_photo_id_array":[{"photo_id":"1331850102","filename":"file5"},{"photo_id":"1331850048","filename":"file2"},{"photo_id":"1331850095","filename":"file4"},{"photo_id":"1331849816","filename":"file1"},{"photo_id":"1331849790","filename":"file0"},{"photo_id":"1331850090","filename":"file3"}],"portfolio_id":19942284,"hashtag_by_photo_ids":[{"1331850048":["hashtag1","hashtag2"]},{"1331850102":["hashtag1","hashtag2"]},{"1331850095":["hashtag1","hashtag2"]},{"1331849816":["hashtag1","hashtag2"]},{"1331849790":["hashtag1","hashtag2"]},{"1331850090":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942284 used, photo_id : ArrayBuffer(1331850048, 1331850102, 1331850095, 1331849816, 1331849790, 1331850090)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 99.48116660118103 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 04:17:03.181102
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/03/03/image_27012025_03_03_03_019375_0000.jpg', '/home/pi/Desktop/images/27012025/03/03/image_27012025_03_03_03_019375_0001.jpg', '/home/pi/Desktop/images/27012025/03/03/image_27012025_03_03_03_019375_0002.jpg', '/home/pi/Desktop/images/27012025/03/03/image_27012025_03_03_03_019375_0003.jpg', '/home/pi/Desktop/images/27012025/03/04/image_27012025_03_04_02_362203_0000.jpg', '/home/pi/Desktop/images/27012025/03/04/image_27012025_03_04_02_362203_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/03/03/image_27012025_03_03_03_019375_0000.jpg
/home/pi/Desktop/images/27012025/03/03/image_27012025_03_03_03_019375_0001.jpg
/home/pi/Desktop/images/27012025/03/03/image_27012025_03_03_03_019375_0002.jpg
/home/pi/Desktop/images/27012025/03/03/image_27012025_03_03_03_019375_0003.jpg
/home/pi/Desktop/images/27012025/03/04/image_27012025_03_04_02_362203_0000.jpg
/home/pi/Desktop/images/27012025/03/04/image_27012025_03_04_02_362203_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331850402","1331850405","1331850404","1331850401","1331850403","1331850400"],"photo_ids_order":["1331850400","1331850401","1331850402","1331850403","1331850404","1331850405"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/56dd906ab29acf0db384d06f82017e9e.jpg","text":"TemporaryFile(/tmp/multipartBody147680764728897217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737947943268,"filename":"image_27012025_03_03_03_019375_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/8d2c1ddce0eb5025ec16e5247d90902c.jpg","text":"TemporaryFile(/tmp/multipartBody4764350993735579464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737947943268,"filename":"image_27012025_03_04_02_362203_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/6a776f73eafe0b8f8de29ea0ca2e0c4d.jpg","text":"TemporaryFile(/tmp/multipartBody6097222374178004602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737947943268,"filename":"image_27012025_03_04_02_362203_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/e8946b76a7675b6bd0e27bcc3f162dcc.jpg","text":"TemporaryFile(/tmp/multipartBody7352544824123675117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737947943268,"filename":"image_27012025_03_03_03_019375_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/00f0fc368572005b86c2d79989c0de56.jpg","text":"TemporaryFile(/tmp/multipartBody9106282059290981597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737947943268,"filename":"image_27012025_03_03_03_019375_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/d44707bf1c5f5ef4616005d913e8a4aa.jpg","text":"TemporaryFile(/tmp/multipartBody3136886222939135197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737947943268,"filename":"image_27012025_03_03_03_019375_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331850402","file1":"1331850401","file0":"1331850400","file4":"1331850404","file5":"1331850405","file3":"1331850403"},"map_files_photo_id_array":[{"photo_id":"1331850405","filename":"file5"},{"photo_id":"1331850402","filename":"file2"},{"photo_id":"1331850404","filename":"file4"},{"photo_id":"1331850401","filename":"file1"},{"photo_id":"1331850400","filename":"file0"},{"photo_id":"1331850403","filename":"file3"}],"portfolio_id":19942284,"hashtag_by_photo_ids":[{"1331850402":["hashtag1","hashtag2"]},{"1331850405":["hashtag1","hashtag2"]},{"1331850404":["hashtag1","hashtag2"]},{"1331850401":["hashtag1","hashtag2"]},{"1331850403":["hashtag1","hashtag2"]},{"1331850400":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942284 used, photo_id : ArrayBuffer(1331850402, 1331850405, 1331850404, 1331850401, 1331850403, 1331850400)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 100.61898255348206 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 04:19:02.386451
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/03/04/image_27012025_03_04_02_362203_0002.jpg', '/home/pi/Desktop/images/27012025/03/04/image_27012025_03_04_02_362203_0003.jpg', '/home/pi/Desktop/images/27012025/03/05/image_27012025_03_05_02_899346_0000.jpg', '/home/pi/Desktop/images/27012025/03/05/image_27012025_03_05_02_899346_0001.jpg', '/home/pi/Desktop/images/27012025/03/05/image_27012025_03_05_02_899346_0002.jpg', '/home/pi/Desktop/images/27012025/03/05/image_27012025_03_05_02_899346_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/03/04/image_27012025_03_04_02_362203_0002.jpg
/home/pi/Desktop/images/27012025/03/04/image_27012025_03_04_02_362203_0003.jpg
/home/pi/Desktop/images/27012025/03/05/image_27012025_03_05_02_899346_0000.jpg
/home/pi/Desktop/images/27012025/03/05/image_27012025_03_05_02_899346_0001.jpg
/home/pi/Desktop/images/27012025/03/05/image_27012025_03_05_02_899346_0002.jpg
/home/pi/Desktop/images/27012025/03/05/image_27012025_03_05_02_899346_0003.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331850465","1331850468","1331850467","1331850470","1331850464","1331850466"],"photo_ids_order":["1331850464","1331850465","1331850466","1331850467","1331850468","1331850470"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/7bc20f2258c64ad1012dc57577512996.jpg","text":"TemporaryFile(/tmp/multipartBody1195973757263712932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737948063838,"filename":"image_27012025_03_04_02_362203_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/85fbe08124474d87a4cf7426ebbc553d.jpg","text":"TemporaryFile(/tmp/multipartBody6684793347435921494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737948063838,"filename":"image_27012025_03_05_02_899346_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/6c6d3fd487523401b661b554bdff16aa.jpg","text":"TemporaryFile(/tmp/multipartBody6075161664617142668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737948063838,"filename":"image_27012025_03_05_02_899346_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/0deafadd7c9837da147a11f0fa8b27be.jpg","text":"TemporaryFile(/tmp/multipartBody4913654649807189867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737948063838,"filename":"image_27012025_03_05_02_899346_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/f3052ecfd4068b925321b6f9a2c01efc.jpg","text":"TemporaryFile(/tmp/multipartBody5595269316481812510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737948063838,"filename":"image_27012025_03_04_02_362203_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/cfa2ca873fcc99ec77bef12649dc21f2.jpg","text":"TemporaryFile(/tmp/multipartBody3686293133801289958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737948063838,"filename":"image_27012025_03_05_02_899346_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331850466","file1":"1331850465","file0":"1331850464","file4":"1331850468","file5":"1331850470","file3":"1331850467"},"map_files_photo_id_array":[{"photo_id":"1331850470","filename":"file5"},{"photo_id":"1331850466","filename":"file2"},{"photo_id":"1331850468","filename":"file4"},{"photo_id":"1331850465","filename":"file1"},{"photo_id":"1331850464","filename":"file0"},{"photo_id":"1331850467","filename":"file3"}],"portfolio_id":19942284,"hashtag_by_photo_ids":[{"1331850465":["hashtag1","hashtag2"]},{"1331850468":["hashtag1","hashtag2"]},{"1331850467":["hashtag1","hashtag2"]},{"1331850470":["hashtag1","hashtag2"]},{"1331850464":["hashtag1","hashtag2"]},{"1331850466":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942284 used, photo_id : ArrayBuffer(1331850465, 1331850468, 1331850467, 1331850470, 1331850464, 1331850466)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 102.59244632720947 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 04:21:02.522848
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/03/06/image_27012025_03_06_02_401819_0000.jpg', '/home/pi/Desktop/images/27012025/03/06/image_27012025_03_06_02_401819_0001.jpg', '/home/pi/Desktop/images/27012025/03/06/image_27012025_03_06_02_401819_0002.jpg', '/home/pi/Desktop/images/27012025/03/06/image_27012025_03_06_02_401819_0003.jpg', '/home/pi/Desktop/images/27012025/03/07/image_27012025_03_07_03_049712_0000.jpg', '/home/pi/Desktop/images/27012025/03/07/image_27012025_03_07_03_049712_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/03/06/image_27012025_03_06_02_401819_0000.jpg
/home/pi/Desktop/images/27012025/03/06/image_27012025_03_06_02_401819_0001.jpg
/home/pi/Desktop/images/27012025/03/06/image_27012025_03_06_02_401819_0002.jpg
/home/pi/Desktop/images/27012025/03/06/image_27012025_03_06_02_401819_0003.jpg
/home/pi/Desktop/images/27012025/03/07/image_27012025_03_07_03_049712_0000.jpg
/home/pi/Desktop/images/27012025/03/07/image_27012025_03_07_03_049712_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331850822","1331850816","1331850825","1331850818","1331850820","1331850814"],"photo_ids_order":["1331850814","1331850816","1331850818","1331850820","1331850822","1331850825"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/7c30e0717dc1f161db3f81552fd7e4d3.jpg","text":"TemporaryFile(/tmp/multipartBody582475355439785887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737948182851,"filename":"image_27012025_03_07_03_049712_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/2ed5b7ba152c355e1e88c318e42d56b7.jpg","text":"TemporaryFile(/tmp/multipartBody4606382192013907999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737948182851,"filename":"image_27012025_03_06_02_401819_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/f67f6e91cc61b1f9ea1ddec0f95b8a86.jpg","text":"TemporaryFile(/tmp/multipartBody9098465025392572832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737948182851,"filename":"image_27012025_03_07_03_049712_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/bc1ef3f0b76ae4b353b984d7d3bd9f8f.jpg","text":"TemporaryFile(/tmp/multipartBody2962747057065067211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737948182851,"filename":"image_27012025_03_06_02_401819_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/b6113d55d8b874b96110203af115c3e1.jpg","text":"TemporaryFile(/tmp/multipartBody5738068417175310127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737948182851,"filename":"image_27012025_03_06_02_401819_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/645aa558f887cd4775bd0ba98c3b9dfc.jpg","text":"TemporaryFile(/tmp/multipartBody7638310303478554342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737948182851,"filename":"image_27012025_03_06_02_401819_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331850818","file1":"1331850816","file0":"1331850814","file4":"1331850822","file5":"1331850825","file3":"1331850820"},"map_files_photo_id_array":[{"photo_id":"1331850825","filename":"file5"},{"photo_id":"1331850818","filename":"file2"},{"photo_id":"1331850822","filename":"file4"},{"photo_id":"1331850816","filename":"file1"},{"photo_id":"1331850814","filename":"file0"},{"photo_id":"1331850820","filename":"file3"}],"portfolio_id":19942284,"hashtag_by_photo_ids":[{"1331850822":["hashtag1","hashtag2"]},{"1331850816":["hashtag1","hashtag2"]},{"1331850825":["hashtag1","hashtag2"]},{"1331850818":["hashtag1","hashtag2"]},{"1331850820":["hashtag1","hashtag2"]},{"1331850814":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942284 used, photo_id : ArrayBuffer(1331850822, 1331850816, 1331850825, 1331850818, 1331850820, 1331850814)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 100.06650280952454 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 04:23:02.550036
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/03/07/image_27012025_03_07_03_049712_0002.jpg', '/home/pi/Desktop/images/27012025/03/07/image_27012025_03_07_03_049712_0003.jpg', '/home/pi/Desktop/images/27012025/03/08/image_27012025_03_08_02_568327_0000.jpg', '/home/pi/Desktop/images/27012025/03/08/image_27012025_03_08_02_568327_0001.jpg', '/home/pi/Desktop/images/27012025/03/08/image_27012025_03_08_02_568327_0002.jpg', '/home/pi/Desktop/images/27012025/03/08/image_27012025_03_08_02_568327_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/03/07/image_27012025_03_07_03_049712_0002.jpg
/home/pi/Desktop/images/27012025/03/07/image_27012025_03_07_03_049712_0003.jpg
/home/pi/Desktop/images/27012025/03/08/image_27012025_03_08_02_568327_0000.jpg
/home/pi/Desktop/images/27012025/03/08/image_27012025_03_08_02_568327_0001.jpg
/home/pi/Desktop/images/27012025/03/08/image_27012025_03_08_02_568327_0002.jpg
/home/pi/Desktop/images/27012025/03/08/image_27012025_03_08_02_568327_0003.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331850872","1331850880","1331850874","1331850877","1331850870","1331850867"],"photo_ids_order":["1331850867","1331850870","1331850872","1331850874","1331850877","1331850880"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/f45aba1025f58ad71794638c3fdea518.jpg","text":"TemporaryFile(/tmp/multipartBody4485159257104087379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737948305883,"filename":"image_27012025_03_08_02_568327_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/4b7c8515001e2b5525acf1554f428ec9.jpg","text":"TemporaryFile(/tmp/multipartBody5831214730957028597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737948305883,"filename":"image_27012025_03_08_02_568327_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/96581bc9396b3001d649324bde330f42.jpg","text":"TemporaryFile(/tmp/multipartBody3413909295332500550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737948305883,"filename":"image_27012025_03_08_02_568327_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/7e46089be72954b366af31f58ac0f532.jpg","text":"TemporaryFile(/tmp/multipartBody8269868470049140318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737948305883,"filename":"image_27012025_03_08_02_568327_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/ab115b59e2b704d7d4ef8f52f44b2985.jpg","text":"TemporaryFile(/tmp/multipartBody4824032930520518952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737948305883,"filename":"image_27012025_03_07_03_049712_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/483b62db3a9bc128e2b45aad8d0d038e.jpg","text":"TemporaryFile(/tmp/multipartBody6396395852708525202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737948305883,"filename":"image_27012025_03_07_03_049712_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331850872","file1":"1331850870","file0":"1331850867","file4":"1331850877","file5":"1331850880","file3":"1331850874"},"map_files_photo_id_array":[{"photo_id":"1331850880","filename":"file5"},{"photo_id":"1331850872","filename":"file2"},{"photo_id":"1331850877","filename":"file4"},{"photo_id":"1331850870","filename":"file1"},{"photo_id":"1331850867","filename":"file0"},{"photo_id":"1331850874","filename":"file3"}],"portfolio_id":19942284,"hashtag_by_photo_ids":[{"1331850872":["hashtag1","hashtag2"]},{"1331850880":["hashtag1","hashtag2"]},{"1331850874":["hashtag1","hashtag2"]},{"1331850877":["hashtag1","hashtag2"]},{"1331850870":["hashtag1","hashtag2"]},{"1331850867":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942284 used, photo_id : ArrayBuffer(1331850872, 1331850880, 1331850874, 1331850877, 1331850870, 1331850867)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 104.26677989959717 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 04:25:02.881296
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/03/09/image_27012025_03_09_03_135148_0000.jpg', '/home/pi/Desktop/images/27012025/03/09/image_27012025_03_09_03_135148_0001.jpg', '/home/pi/Desktop/images/27012025/03/09/image_27012025_03_09_03_135148_0002.jpg', '/home/pi/Desktop/images/27012025/03/09/image_27012025_03_09_03_135148_0003.jpg', '/home/pi/Desktop/images/27012025/03/10/image_27012025_03_10_02_670430_0000.jpg', '/home/pi/Desktop/images/27012025/03/10/image_27012025_03_10_02_670430_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/03/09/image_27012025_03_09_03_135148_0000.jpg
/home/pi/Desktop/images/27012025/03/09/image_27012025_03_09_03_135148_0001.jpg
/home/pi/Desktop/images/27012025/03/09/image_27012025_03_09_03_135148_0002.jpg
/home/pi/Desktop/images/27012025/03/09/image_27012025_03_09_03_135148_0003.jpg
/home/pi/Desktop/images/27012025/03/10/image_27012025_03_10_02_670430_0000.jpg
/home/pi/Desktop/images/27012025/03/10/image_27012025_03_10_02_670430_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331851335","1331851337","1331851339","1331851342","1331851344","1331851347"],"photo_ids_order":["1331851335","1331851337","1331851339","1331851342","1331851344","1331851347"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/98403066e202ec5a94176c3828c95ff1.jpg","text":"TemporaryFile(/tmp/multipartBody3810769101759361904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737948423229,"filename":"image_27012025_03_09_03_135148_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/8bdd57aa5c47ade537079e238e607d6a.jpg","text":"TemporaryFile(/tmp/multipartBody3971501957439027780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737948423229,"filename":"image_27012025_03_09_03_135148_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/7bd533b3447a7e6a27eb1606d9f24600.jpg","text":"TemporaryFile(/tmp/multipartBody6310409162112515046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737948423229,"filename":"image_27012025_03_09_03_135148_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/8218ca95fcc77c478ef496b6871eea30.jpg","text":"TemporaryFile(/tmp/multipartBody8794785875909991088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737948423229,"filename":"image_27012025_03_09_03_135148_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/a8394c1ea67d18bc48b2d6e77fd3b8ef.jpg","text":"TemporaryFile(/tmp/multipartBody1851633434541308983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737948423229,"filename":"image_27012025_03_10_02_670430_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/3f215c3aa2383523a406c0963454f69a.jpg","text":"TemporaryFile(/tmp/multipartBody4569906666610280486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737948423229,"filename":"image_27012025_03_10_02_670430_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331851339","file1":"1331851337","file0":"1331851335","file4":"1331851344","file5":"1331851347","file3":"1331851342"},"map_files_photo_id_array":[{"photo_id":"1331851347","filename":"file5"},{"photo_id":"1331851339","filename":"file2"},{"photo_id":"1331851344","filename":"file4"},{"photo_id":"1331851337","filename":"file1"},{"photo_id":"1331851335","filename":"file0"},{"photo_id":"1331851342","filename":"file3"}],"portfolio_id":19942284,"hashtag_by_photo_ids":[{"1331851335":["hashtag1","hashtag2"]},{"1331851337":["hashtag1","hashtag2"]},{"1331851339":["hashtag1","hashtag2"]},{"1331851342":["hashtag1","hashtag2"]},{"1331851344":["hashtag1","hashtag2"]},{"1331851347":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942284 used, photo_id : ArrayBuffer(1331851335, 1331851337, 1331851339, 1331851342, 1331851344, 1331851347)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 100.68607711791992 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 04:27:02.848958
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/03/10/image_27012025_03_10_02_670430_0002.jpg', '/home/pi/Desktop/images/27012025/03/10/image_27012025_03_10_02_670430_0003.jpg', '/home/pi/Desktop/images/27012025/03/11/image_27012025_03_11_02_189797_0000.jpg', '/home/pi/Desktop/images/27012025/03/11/image_27012025_03_11_02_189797_0001.jpg', '/home/pi/Desktop/images/27012025/03/11/image_27012025_03_11_02_189797_0002.jpg', '/home/pi/Desktop/images/27012025/03/11/image_27012025_03_11_02_189797_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/03/10/image_27012025_03_10_02_670430_0002.jpg
/home/pi/Desktop/images/27012025/03/10/image_27012025_03_10_02_670430_0003.jpg
/home/pi/Desktop/images/27012025/03/11/image_27012025_03_11_02_189797_0000.jpg
/home/pi/Desktop/images/27012025/03/11/image_27012025_03_11_02_189797_0001.jpg
/home/pi/Desktop/images/27012025/03/11/image_27012025_03_11_02_189797_0002.jpg
/home/pi/Desktop/images/27012025/03/11/image_27012025_03_11_02_189797_0003.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331851407","1331851409","1331851406","1331851408","1331851405","1331851410"],"photo_ids_order":["1331851405","1331851406","1331851407","1331851408","1331851409","1331851410"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/f69568423c6248c607e3986548b9edc9.jpg","text":"TemporaryFile(/tmp/multipartBody5432495963903781311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737948542362,"filename":"image_27012025_03_11_02_189797_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/2ed92d16f23438222dc0c60e086880a0.jpg","text":"TemporaryFile(/tmp/multipartBody1563818820838599748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737948542362,"filename":"image_27012025_03_11_02_189797_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/a1e4bdc0e40907ee5dd0e889ed2064ca.jpg","text":"TemporaryFile(/tmp/multipartBody2733234385905710016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737948542362,"filename":"image_27012025_03_10_02_670430_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/905442fec9ceccc92475d3bad62776a6.jpg","text":"TemporaryFile(/tmp/multipartBody8373280129397883374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737948542362,"filename":"image_27012025_03_11_02_189797_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/c703ebfde596960b3893e009172cee30.jpg","text":"TemporaryFile(/tmp/multipartBody288515428768523201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737948542362,"filename":"image_27012025_03_10_02_670430_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/63deaa23b165aa59fa690945d14312ea.jpg","text":"TemporaryFile(/tmp/multipartBody643617947195044451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737948542362,"filename":"image_27012025_03_11_02_189797_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331851407","file1":"1331851406","file0":"1331851405","file4":"1331851409","file5":"1331851410","file3":"1331851408"},"map_files_photo_id_array":[{"photo_id":"1331851410","filename":"file5"},{"photo_id":"1331851407","filename":"file2"},{"photo_id":"1331851409","filename":"file4"},{"photo_id":"1331851406","filename":"file1"},{"photo_id":"1331851405","filename":"file0"},{"photo_id":"1331851408","filename":"file3"}],"portfolio_id":19942284,"hashtag_by_photo_ids":[{"1331851407":["hashtag1","hashtag2"]},{"1331851409":["hashtag1","hashtag2"]},{"1331851406":["hashtag1","hashtag2"]},{"1331851408":["hashtag1","hashtag2"]},{"1331851405":["hashtag1","hashtag2"]},{"1331851410":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942284 used, photo_id : ArrayBuffer(1331851407, 1331851409, 1331851406, 1331851408, 1331851405, 1331851410)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 100.27336144447327 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 04:29:03.220777
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/03/12/image_27012025_03_12_02_669281_0000.jpg', '/home/pi/Desktop/images/27012025/03/12/image_27012025_03_12_02_669281_0001.jpg', '/home/pi/Desktop/images/27012025/03/12/image_27012025_03_12_02_669281_0002.jpg', '/home/pi/Desktop/images/27012025/03/12/image_27012025_03_12_02_669281_0003.jpg', '/home/pi/Desktop/images/27012025/03/13/image_27012025_03_13_02_188574_0000.jpg', '/home/pi/Desktop/images/27012025/03/13/image_27012025_03_13_02_188574_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/03/12/image_27012025_03_12_02_669281_0000.jpg
/home/pi/Desktop/images/27012025/03/12/image_27012025_03_12_02_669281_0001.jpg
/home/pi/Desktop/images/27012025/03/12/image_27012025_03_12_02_669281_0002.jpg
/home/pi/Desktop/images/27012025/03/12/image_27012025_03_12_02_669281_0003.jpg
/home/pi/Desktop/images/27012025/03/13/image_27012025_03_13_02_188574_0000.jpg
/home/pi/Desktop/images/27012025/03/13/image_27012025_03_13_02_188574_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331851598","1331851588","1331851585","1331851546","1331851596","1331851578"],"photo_ids_order":["1331851546","1331851578","1331851585","1331851588","1331851596","1331851598"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/d9f9e768cac71560fcfda24c8ee5195c.jpg","text":"TemporaryFile(/tmp/multipartBody5862606839510322534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737948664319,"filename":"image_27012025_03_13_02_188574_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/f105c3a23491682c3f387d98ef87b7e0.jpg","text":"TemporaryFile(/tmp/multipartBody2421696173883546084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737948664319,"filename":"image_27012025_03_12_02_669281_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/b19b01fee2b7851e7c9dd86d37ab16e3.jpg","text":"TemporaryFile(/tmp/multipartBody6547305226824438901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737948664319,"filename":"image_27012025_03_12_02_669281_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/2637ed835aa3fb849a71cb35e553eb2a.jpg","text":"TemporaryFile(/tmp/multipartBody18834428685245349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737948664319,"filename":"image_27012025_03_12_02_669281_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/b12a20f68e32f212e7530ef373b3c044.jpg","text":"TemporaryFile(/tmp/multipartBody2013343179713971249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737948664319,"filename":"image_27012025_03_13_02_188574_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/b748abe00226d50128f757b365603a01.jpg","text":"TemporaryFile(/tmp/multipartBody6682480530950733083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737948664319,"filename":"image_27012025_03_12_02_669281_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331851585","file1":"1331851578","file0":"1331851546","file4":"1331851596","file5":"1331851598","file3":"1331851588"},"map_files_photo_id_array":[{"photo_id":"1331851598","filename":"file5"},{"photo_id":"1331851585","filename":"file2"},{"photo_id":"1331851596","filename":"file4"},{"photo_id":"1331851578","filename":"file1"},{"photo_id":"1331851546","filename":"file0"},{"photo_id":"1331851588","filename":"file3"}],"portfolio_id":19942284,"hashtag_by_photo_ids":[{"1331851598":["hashtag1","hashtag2"]},{"1331851588":["hashtag1","hashtag2"]},{"1331851585":["hashtag1","hashtag2"]},{"1331851546":["hashtag1","hashtag2"]},{"1331851596":["hashtag1","hashtag2"]},{"1331851578":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942284 used, photo_id : ArrayBuffer(1331851598, 1331851588, 1331851585, 1331851546, 1331851596, 1331851578)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 100.68073582649231 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 04:31:03.340096
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/03/13/image_27012025_03_13_02_188574_0002.jpg', '/home/pi/Desktop/images/27012025/03/13/image_27012025_03_13_02_188574_0003.jpg', '/home/pi/Desktop/images/27012025/03/14/image_27012025_03_14_02_663227_0000.jpg', '/home/pi/Desktop/images/27012025/03/14/image_27012025_03_14_02_663227_0001.jpg', '/home/pi/Desktop/images/27012025/03/14/image_27012025_03_14_02_663227_0002.jpg', '/home/pi/Desktop/images/27012025/03/14/image_27012025_03_14_02_663227_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/03/13/image_27012025_03_13_02_188574_0002.jpg
/home/pi/Desktop/images/27012025/03/13/image_27012025_03_13_02_188574_0003.jpg
/home/pi/Desktop/images/27012025/03/14/image_27012025_03_14_02_663227_0000.jpg
/home/pi/Desktop/images/27012025/03/14/image_27012025_03_14_02_663227_0001.jpg
/home/pi/Desktop/images/27012025/03/14/image_27012025_03_14_02_663227_0002.jpg
/home/pi/Desktop/images/27012025/03/14/image_27012025_03_14_02_663227_0003.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331851841","1331851832","1331851834","1331851839","1331851842","1331851836"],"photo_ids_order":["1331851832","1331851834","1331851836","1331851839","1331851841","1331851842"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/f512cc0d1f522f26d9de871ebddebe8c.jpg","text":"TemporaryFile(/tmp/multipartBody5813600207858635071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737948783259,"filename":"image_27012025_03_14_02_663227_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/f58ac5cafce9d23b49655be5682151f2.jpg","text":"TemporaryFile(/tmp/multipartBody6752383469740165594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737948783259,"filename":"image_27012025_03_13_02_188574_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/8395026fbe29be99f82e7032a0af3672.jpg","text":"TemporaryFile(/tmp/multipartBody4945540120074198090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737948783259,"filename":"image_27012025_03_13_02_188574_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/c2a7a5aeba444d433a86553defd3038e.jpg","text":"TemporaryFile(/tmp/multipartBody6673214910623258607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737948783259,"filename":"image_27012025_03_14_02_663227_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/8d6d518cb325aa59761bcb0c20097698.jpg","text":"TemporaryFile(/tmp/multipartBody2268048407249256639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737948783259,"filename":"image_27012025_03_14_02_663227_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/3415f761bc30c3c1c72fffe181ce077d.jpg","text":"TemporaryFile(/tmp/multipartBody1534875676025858545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737948783259,"filename":"image_27012025_03_14_02_663227_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331851836","file1":"1331851834","file0":"1331851832","file4":"1331851841","file5":"1331851842","file3":"1331851839"},"map_files_photo_id_array":[{"photo_id":"1331851842","filename":"file5"},{"photo_id":"1331851836","filename":"file2"},{"photo_id":"1331851841","filename":"file4"},{"photo_id":"1331851834","filename":"file1"},{"photo_id":"1331851832","filename":"file0"},{"photo_id":"1331851839","filename":"file3"}],"portfolio_id":19942284,"hashtag_by_photo_ids":[{"1331851841":["hashtag1","hashtag2"]},{"1331851832":["hashtag1","hashtag2"]},{"1331851834":["hashtag1","hashtag2"]},{"1331851839":["hashtag1","hashtag2"]},{"1331851842":["hashtag1","hashtag2"]},{"1331851836":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942284 used, photo_id : ArrayBuffer(1331851841, 1331851832, 1331851834, 1331851839, 1331851842, 1331851836)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 99.28325414657593 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 04:33:03.336331
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/03/15/image_27012025_03_15_02_151945_0000.jpg', '/home/pi/Desktop/images/27012025/03/15/image_27012025_03_15_02_151945_0001.jpg', '/home/pi/Desktop/images/27012025/03/15/image_27012025_03_15_02_151945_0002.jpg', '/home/pi/Desktop/images/27012025/03/15/image_27012025_03_15_02_151945_0003.jpg', '/home/pi/Desktop/images/27012025/03/16/image_27012025_03_16_02_666903_0000.jpg', '/home/pi/Desktop/images/27012025/03/16/image_27012025_03_16_02_666903_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/03/15/image_27012025_03_15_02_151945_0000.jpg
/home/pi/Desktop/images/27012025/03/15/image_27012025_03_15_02_151945_0001.jpg
/home/pi/Desktop/images/27012025/03/15/image_27012025_03_15_02_151945_0002.jpg
/home/pi/Desktop/images/27012025/03/15/image_27012025_03_15_02_151945_0003.jpg
/home/pi/Desktop/images/27012025/03/16/image_27012025_03_16_02_666903_0000.jpg
/home/pi/Desktop/images/27012025/03/16/image_27012025_03_16_02_666903_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 61.57964253425598 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-27 04:34:22.293617
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/03/15/image_27012025_03_15_02_151945_0000.jpg', '/home/pi/Desktop/images/27012025/03/15/image_27012025_03_15_02_151945_0001.jpg', '/home/pi/Desktop/images/27012025/03/15/image_27012025_03_15_02_151945_0002.jpg', '/home/pi/Desktop/images/27012025/03/15/image_27012025_03_15_02_151945_0003.jpg', '/home/pi/Desktop/images/27012025/03/16/image_27012025_03_16_02_666903_0000.jpg', '/home/pi/Desktop/images/27012025/03/16/image_27012025_03_16_02_666903_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/03/15/image_27012025_03_15_02_151945_0000.jpg
/home/pi/Desktop/images/27012025/03/15/image_27012025_03_15_02_151945_0001.jpg
/home/pi/Desktop/images/27012025/03/15/image_27012025_03_15_02_151945_0002.jpg
/home/pi/Desktop/images/27012025/03/15/image_27012025_03_15_02_151945_0003.jpg
/home/pi/Desktop/images/27012025/03/16/image_27012025_03_16_02_666903_0000.jpg
/home/pi/Desktop/images/27012025/03/16/image_27012025_03_16_02_666903_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331852510","1331852503","1331852496","1331852500","1331852493","1331852492"],"photo_ids_order":["1331852492","1331852493","1331852496","1331852500","1331852503","1331852510"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/26e4f0b8676592e1b7ebd3dfe28c802f.jpg","text":"TemporaryFile(/tmp/multipartBody8628937610835276691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737948984137,"filename":"image_27012025_03_16_02_666903_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/92e42d4a0e47743113d784b79e895f0e.jpg","text":"TemporaryFile(/tmp/multipartBody5033305572702905276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737948984137,"filename":"image_27012025_03_16_02_666903_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/865e706d68509297447f496d37fd37f2.jpg","text":"TemporaryFile(/tmp/multipartBody7849594726852205346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737948984137,"filename":"image_27012025_03_15_02_151945_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/d515d6f3ba5ea4d2e0f92c7f32519005.jpg","text":"TemporaryFile(/tmp/multipartBody282273620368456959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737948984137,"filename":"image_27012025_03_15_02_151945_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/74579889fdfb6a105770d3ad99f53f2b.jpg","text":"TemporaryFile(/tmp/multipartBody2989940276087236201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737948984137,"filename":"image_27012025_03_15_02_151945_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/c03d95355d8c9581fa0ef6a49e409937.jpg","text":"TemporaryFile(/tmp/multipartBody3140961390441605660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737948984137,"filename":"image_27012025_03_15_02_151945_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331852496","file1":"1331852493","file0":"1331852492","file4":"1331852503","file5":"1331852510","file3":"1331852500"},"map_files_photo_id_array":[{"photo_id":"1331852510","filename":"file5"},{"photo_id":"1331852496","filename":"file2"},{"photo_id":"1331852503","filename":"file4"},{"photo_id":"1331852493","filename":"file1"},{"photo_id":"1331852492","filename":"file0"},{"photo_id":"1331852500","filename":"file3"}],"portfolio_id":19942284,"hashtag_by_photo_ids":[{"1331852510":["hashtag1","hashtag2"]},{"1331852503":["hashtag1","hashtag2"]},{"1331852496":["hashtag1","hashtag2"]},{"1331852500":["hashtag1","hashtag2"]},{"1331852493":["hashtag1","hashtag2"]},{"1331852492":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942284 used, photo_id : ArrayBuffer(1331852510, 1331852503, 1331852496, 1331852500, 1331852493, 1331852492)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 104.55463457107544 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-27 04:36:22.401692
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/03/16/image_27012025_03_16_02_666903_0002.jpg', '/home/pi/Desktop/images/27012025/03/16/image_27012025_03_16_02_666903_0003.jpg', '/home/pi/Desktop/images/27012025/03/17/image_27012025_03_17_02_199739_0000.jpg', '/home/pi/Desktop/images/27012025/03/17/image_27012025_03_17_02_199739_0001.jpg', '/home/pi/Desktop/images/27012025/03/17/image_27012025_03_17_02_199739_0002.jpg', '/home/pi/Desktop/images/27012025/03/17/image_27012025_03_17_02_199739_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/03/16/image_27012025_03_16_02_666903_0002.jpg
/home/pi/Desktop/images/27012025/03/16/image_27012025_03_16_02_666903_0003.jpg
/home/pi/Desktop/images/27012025/03/17/image_27012025_03_17_02_199739_0000.jpg
/home/pi/Desktop/images/27012025/03/17/image_27012025_03_17_02_199739_0001.jpg
/home/pi/Desktop/images/27012025/03/17/image_27012025_03_17_02_199739_0002.jpg
/home/pi/Desktop/images/27012025/03/17/image_27012025_03_17_02_199739_0003.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 60.75014805793762 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 04:38:02.987071
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/03/16/image_27012025_03_16_02_666903_0002.jpg', '/home/pi/Desktop/images/27012025/03/16/image_27012025_03_16_02_666903_0003.jpg', '/home/pi/Desktop/images/27012025/03/17/image_27012025_03_17_02_199739_0000.jpg', '/home/pi/Desktop/images/27012025/03/17/image_27012025_03_17_02_199739_0001.jpg', '/home/pi/Desktop/images/27012025/03/17/image_27012025_03_17_02_199739_0002.jpg', '/home/pi/Desktop/images/27012025/03/17/image_27012025_03_17_02_199739_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/03/16/image_27012025_03_16_02_666903_0002.jpg
/home/pi/Desktop/images/27012025/03/16/image_27012025_03_16_02_666903_0003.jpg
/home/pi/Desktop/images/27012025/03/17/image_27012025_03_17_02_199739_0000.jpg
/home/pi/Desktop/images/27012025/03/17/image_27012025_03_17_02_199739_0001.jpg
/home/pi/Desktop/images/27012025/03/17/image_27012025_03_17_02_199739_0002.jpg
/home/pi/Desktop/images/27012025/03/17/image_27012025_03_17_02_199739_0003.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 60.67559790611267 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-27 04:39:21.886446
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/03/16/image_27012025_03_16_02_666903_0002.jpg', '/home/pi/Desktop/images/27012025/03/16/image_27012025_03_16_02_666903_0003.jpg', '/home/pi/Desktop/images/27012025/03/17/image_27012025_03_17_02_199739_0000.jpg', '/home/pi/Desktop/images/27012025/03/17/image_27012025_03_17_02_199739_0001.jpg', '/home/pi/Desktop/images/27012025/03/17/image_27012025_03_17_02_199739_0002.jpg', '/home/pi/Desktop/images/27012025/03/17/image_27012025_03_17_02_199739_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/03/16/image_27012025_03_16_02_666903_0002.jpg
/home/pi/Desktop/images/27012025/03/16/image_27012025_03_16_02_666903_0003.jpg
/home/pi/Desktop/images/27012025/03/17/image_27012025_03_17_02_199739_0000.jpg
/home/pi/Desktop/images/27012025/03/17/image_27012025_03_17_02_199739_0001.jpg
/home/pi/Desktop/images/27012025/03/17/image_27012025_03_17_02_199739_0002.jpg
/home/pi/Desktop/images/27012025/03/17/image_27012025_03_17_02_199739_0003.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331853082","1331853076","1331853061","1331853064","1331853072","1331853068"],"photo_ids_order":["1331853061","1331853064","1331853068","1331853072","1331853076","1331853082"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/a80e526b4bbc79736f030cbb7f4131a2.jpg","text":"TemporaryFile(/tmp/multipartBody6549586064794651792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737949282861,"filename":"image_27012025_03_17_02_199739_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/4b80d4aa4b605885004681ded6641f6a.jpg","text":"TemporaryFile(/tmp/multipartBody5051207070433807837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737949282861,"filename":"image_27012025_03_17_02_199739_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/e2ef7376a159a1062b6531d6319e0944.jpg","text":"TemporaryFile(/tmp/multipartBody5248382525888910473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737949282861,"filename":"image_27012025_03_16_02_666903_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/7ff399474af3eac2aeb14c1fc94de75e.jpg","text":"TemporaryFile(/tmp/multipartBody8439441074928416833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737949282861,"filename":"image_27012025_03_16_02_666903_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/52eb126efff7f3dd749ded28d5276e02.jpg","text":"TemporaryFile(/tmp/multipartBody3557230326365972942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737949282861,"filename":"image_27012025_03_17_02_199739_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/73d5f79253c220b44211c92be0c6f44e.jpg","text":"TemporaryFile(/tmp/multipartBody5926423107390444626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737949282861,"filename":"image_27012025_03_17_02_199739_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331853068","file1":"1331853064","file0":"1331853061","file4":"1331853076","file5":"1331853082","file3":"1331853072"},"map_files_photo_id_array":[{"photo_id":"1331853082","filename":"file5"},{"photo_id":"1331853068","filename":"file2"},{"photo_id":"1331853076","filename":"file4"},{"photo_id":"1331853064","filename":"file1"},{"photo_id":"1331853061","filename":"file0"},{"photo_id":"1331853072","filename":"file3"}],"portfolio_id":19942284,"hashtag_by_photo_ids":[{"1331853082":["hashtag1","hashtag2"]},{"1331853076":["hashtag1","hashtag2"]},{"1331853061":["hashtag1","hashtag2"]},{"1331853064":["hashtag1","hashtag2"]},{"1331853072":["hashtag1","hashtag2"]},{"1331853068":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942284 used, photo_id : ArrayBuffer(1331853082, 1331853076, 1331853061, 1331853064, 1331853072, 1331853068)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 100.1861207485199 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-27 04:41:21.963044
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/03/18/image_27012025_03_18_02_705416_0000.jpg', '/home/pi/Desktop/images/27012025/03/18/image_27012025_03_18_02_705416_0001.jpg', '/home/pi/Desktop/images/27012025/03/18/image_27012025_03_18_02_705416_0002.jpg', '/home/pi/Desktop/images/27012025/03/18/image_27012025_03_18_02_705416_0003.jpg', '/home/pi/Desktop/images/27012025/03/19/image_27012025_03_19_02_256052_0000.jpg', '/home/pi/Desktop/images/27012025/03/19/image_27012025_03_19_02_256052_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/03/18/image_27012025_03_18_02_705416_0000.jpg
/home/pi/Desktop/images/27012025/03/18/image_27012025_03_18_02_705416_0001.jpg
/home/pi/Desktop/images/27012025/03/18/image_27012025_03_18_02_705416_0002.jpg
/home/pi/Desktop/images/27012025/03/18/image_27012025_03_18_02_705416_0003.jpg
/home/pi/Desktop/images/27012025/03/19/image_27012025_03_19_02_256052_0000.jpg
/home/pi/Desktop/images/27012025/03/19/image_27012025_03_19_02_256052_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331853122","1331853130","1331853127","1331853109","1331853132","1331853117"],"photo_ids_order":["1331853109","1331853117","1331853122","1331853127","1331853130","1331853132"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/2b3d687455160dccdb72e221cf7d3413.jpg","text":"TemporaryFile(/tmp/multipartBody6296847006965174582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737949403223,"filename":"image_27012025_03_18_02_705416_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/dd47736f27d853736abeef0ffcfc6c8e.jpg","text":"TemporaryFile(/tmp/multipartBody3235456747844696641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737949403223,"filename":"image_27012025_03_19_02_256052_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/b321cfaa8e07c548fe3add22e7ddf6f5.jpg","text":"TemporaryFile(/tmp/multipartBody1870019277184540014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737949403223,"filename":"image_27012025_03_18_02_705416_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/520b8a8842c437c77ce6f88599733aba.jpg","text":"TemporaryFile(/tmp/multipartBody8898170331034925412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737949403223,"filename":"image_27012025_03_18_02_705416_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/0b85bfe0429448a60551e2f487f8903b.jpg","text":"TemporaryFile(/tmp/multipartBody3119370294174632115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737949403223,"filename":"image_27012025_03_19_02_256052_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/a013f7fe0be9741281315668dddef345.jpg","text":"TemporaryFile(/tmp/multipartBody2632350887977210852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737949403223,"filename":"image_27012025_03_18_02_705416_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331853122","file1":"1331853117","file0":"1331853109","file4":"1331853130","file5":"1331853132","file3":"1331853127"},"map_files_photo_id_array":[{"photo_id":"1331853132","filename":"file5"},{"photo_id":"1331853122","filename":"file2"},{"photo_id":"1331853130","filename":"file4"},{"photo_id":"1331853117","filename":"file1"},{"photo_id":"1331853109","filename":"file0"},{"photo_id":"1331853127","filename":"file3"}],"portfolio_id":19942284,"hashtag_by_photo_ids":[{"1331853122":["hashtag1","hashtag2"]},{"1331853130":["hashtag1","hashtag2"]},{"1331853127":["hashtag1","hashtag2"]},{"1331853109":["hashtag1","hashtag2"]},{"1331853132":["hashtag1","hashtag2"]},{"1331853117":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942284 used, photo_id : ArrayBuffer(1331853122, 1331853130, 1331853127, 1331853109, 1331853132, 1331853117)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 116.47081542015076 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-27 04:43:21.945358
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/03/19/image_27012025_03_19_02_256052_0002.jpg', '/home/pi/Desktop/images/27012025/03/19/image_27012025_03_19_02_256052_0003.jpg', '/home/pi/Desktop/images/27012025/03/20/image_27012025_03_20_02_754678_0000.jpg', '/home/pi/Desktop/images/27012025/03/20/image_27012025_03_20_02_754678_0001.jpg', '/home/pi/Desktop/images/27012025/03/20/image_27012025_03_20_02_754678_0002.jpg', '/home/pi/Desktop/images/27012025/03/20/image_27012025_03_20_02_754678_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/03/19/image_27012025_03_19_02_256052_0002.jpg
/home/pi/Desktop/images/27012025/03/19/image_27012025_03_19_02_256052_0003.jpg
/home/pi/Desktop/images/27012025/03/20/image_27012025_03_20_02_754678_0000.jpg
/home/pi/Desktop/images/27012025/03/20/image_27012025_03_20_02_754678_0001.jpg
/home/pi/Desktop/images/27012025/03/20/image_27012025_03_20_02_754678_0002.jpg
/home/pi/Desktop/images/27012025/03/20/image_27012025_03_20_02_754678_0003.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331853199","1331853190","1331853187","1331853195","1331853208","1331853204"],"photo_ids_order":["1331853187","1331853190","1331853195","1331853199","1331853204","1331853208"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/7e4ca2bc21cc72328e89126f309fbf41.jpg","text":"TemporaryFile(/tmp/multipartBody2674695138077795198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737949523683,"filename":"image_27012025_03_20_02_754678_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/8d0844c9cb75adda29c7f5390558d5bf.jpg","text":"TemporaryFile(/tmp/multipartBody1948190617189147389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737949523683,"filename":"image_27012025_03_19_02_256052_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/83e490a808658349eb89e63318b62f6e.jpg","text":"TemporaryFile(/tmp/multipartBody5871201494111867285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737949523683,"filename":"image_27012025_03_19_02_256052_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/4b0dd37ea90e17ab7815148043cab5cd.jpg","text":"TemporaryFile(/tmp/multipartBody2041193242555353393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737949523683,"filename":"image_27012025_03_20_02_754678_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/c82a82b388525d3550e4b182e8f90166.jpg","text":"TemporaryFile(/tmp/multipartBody6332138513761364238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737949523683,"filename":"image_27012025_03_20_02_754678_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/5f212f5f1b92599f4ee30ce1104caf56.jpg","text":"TemporaryFile(/tmp/multipartBody6670198352988488102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737949523683,"filename":"image_27012025_03_20_02_754678_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331853195","file1":"1331853190","file0":"1331853187","file4":"1331853204","file5":"1331853208","file3":"1331853199"},"map_files_photo_id_array":[{"photo_id":"1331853208","filename":"file5"},{"photo_id":"1331853195","filename":"file2"},{"photo_id":"1331853204","filename":"file4"},{"photo_id":"1331853190","filename":"file1"},{"photo_id":"1331853187","filename":"file0"},{"photo_id":"1331853199","filename":"file3"}],"portfolio_id":19942284,"hashtag_by_photo_ids":[{"1331853199":["hashtag1","hashtag2"]},{"1331853190":["hashtag1","hashtag2"]},{"1331853187":["hashtag1","hashtag2"]},{"1331853195":["hashtag1","hashtag2"]},{"1331853208":["hashtag1","hashtag2"]},{"1331853204":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942284 used, photo_id : ArrayBuffer(1331853199, 1331853190, 1331853187, 1331853195, 1331853208, 1331853204)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 103.95231246948242 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-27 04:45:21.949645
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/03/21/image_27012025_03_21_02_230435_0000.jpg', '/home/pi/Desktop/images/27012025/03/21/image_27012025_03_21_02_230435_0001.jpg', '/home/pi/Desktop/images/27012025/03/21/image_27012025_03_21_02_230435_0002.jpg', '/home/pi/Desktop/images/27012025/03/21/image_27012025_03_21_02_230435_0003.jpg', '/home/pi/Desktop/images/27012025/03/22/image_27012025_03_22_02_748851_0000.jpg', '/home/pi/Desktop/images/27012025/03/22/image_27012025_03_22_02_748851_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/03/21/image_27012025_03_21_02_230435_0000.jpg
/home/pi/Desktop/images/27012025/03/21/image_27012025_03_21_02_230435_0001.jpg
/home/pi/Desktop/images/27012025/03/21/image_27012025_03_21_02_230435_0002.jpg
/home/pi/Desktop/images/27012025/03/21/image_27012025_03_21_02_230435_0003.jpg
/home/pi/Desktop/images/27012025/03/22/image_27012025_03_22_02_748851_0000.jpg
/home/pi/Desktop/images/27012025/03/22/image_27012025_03_22_02_748851_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331854735","1331854554","1331854694","1331854643","1331854718","1331854765"],"photo_ids_order":["1331854554","1331854643","1331854694","1331854718","1331854735","1331854765"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/4a81fe298676b0de72c2f707b2e02bef.jpg","text":"TemporaryFile(/tmp/multipartBody3380492365239671679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737949641957,"filename":"image_27012025_03_22_02_748851_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/ff40ac7328016921fe8394b4f3fbd800.jpg","text":"TemporaryFile(/tmp/multipartBody4954602061861251546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737949641957,"filename":"image_27012025_03_21_02_230435_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/e39db6f6c4bcb8b3f221eae9514295e1.jpg","text":"TemporaryFile(/tmp/multipartBody3754957997268501546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737949641957,"filename":"image_27012025_03_21_02_230435_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/ef6f550ddfa1eaa5274e29e2f1e01f60.jpg","text":"TemporaryFile(/tmp/multipartBody7396283651706123081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737949641957,"filename":"image_27012025_03_21_02_230435_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/10431944b0a7084d4ee9abf59e3770d2.jpg","text":"TemporaryFile(/tmp/multipartBody7618483688200523506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737949641957,"filename":"image_27012025_03_21_02_230435_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/f209d7e014d8e1e95a9f9c1f82562888.jpg","text":"TemporaryFile(/tmp/multipartBody7800522829265718529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737949641957,"filename":"image_27012025_03_22_02_748851_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331854694","file1":"1331854643","file0":"1331854554","file4":"1331854735","file5":"1331854765","file3":"1331854718"},"map_files_photo_id_array":[{"photo_id":"1331854765","filename":"file5"},{"photo_id":"1331854694","filename":"file2"},{"photo_id":"1331854735","filename":"file4"},{"photo_id":"1331854643","filename":"file1"},{"photo_id":"1331854554","filename":"file0"},{"photo_id":"1331854718","filename":"file3"}],"portfolio_id":19942284,"hashtag_by_photo_ids":[{"1331854735":["hashtag1","hashtag2"]},{"1331854554":["hashtag1","hashtag2"]},{"1331854694":["hashtag1","hashtag2"]},{"1331854643":["hashtag1","hashtag2"]},{"1331854718":["hashtag1","hashtag2"]},{"1331854765":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942284 used, photo_id : ArrayBuffer(1331854735, 1331854554, 1331854694, 1331854643, 1331854718, 1331854765)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 99.59933400154114 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-27 04:47:21.977871
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/03/22/image_27012025_03_22_02_748851_0002.jpg', '/home/pi/Desktop/images/27012025/03/22/image_27012025_03_22_02_748851_0003.jpg', '/home/pi/Desktop/images/27012025/03/23/image_27012025_03_23_02_257360_0000.jpg', '/home/pi/Desktop/images/27012025/03/23/image_27012025_03_23_02_257360_0001.jpg', '/home/pi/Desktop/images/27012025/03/23/image_27012025_03_23_02_257360_0002.jpg', '/home/pi/Desktop/images/27012025/03/23/image_27012025_03_23_02_257360_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/03/22/image_27012025_03_22_02_748851_0002.jpg
/home/pi/Desktop/images/27012025/03/22/image_27012025_03_22_02_748851_0003.jpg
/home/pi/Desktop/images/27012025/03/23/image_27012025_03_23_02_257360_0000.jpg
/home/pi/Desktop/images/27012025/03/23/image_27012025_03_23_02_257360_0001.jpg
/home/pi/Desktop/images/27012025/03/23/image_27012025_03_23_02_257360_0002.jpg
/home/pi/Desktop/images/27012025/03/23/image_27012025_03_23_02_257360_0003.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331855636","1331855717","1331855243","1331855686","1331855242","1331855437"],"photo_ids_order":["1331855242","1331855243","1331855437","1331855636","1331855686","1331855717"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/035cd5b49e9c423c7354ac9709037e18.jpg","text":"TemporaryFile(/tmp/multipartBody9020991834311094726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737949764971,"filename":"image_27012025_03_23_02_257360_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/130ba8f5e2eaa5ad8957a3f5a5cb7353.jpg","text":"TemporaryFile(/tmp/multipartBody3496032254932115599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737949764971,"filename":"image_27012025_03_23_02_257360_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/54b8a72b8f204a28a47b29ca4adff773.jpg","text":"TemporaryFile(/tmp/multipartBody1980581680743499148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737949764971,"filename":"image_27012025_03_22_02_748851_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/b5e7f22ad23b016e49ece5d7b4eb0783.jpg","text":"TemporaryFile(/tmp/multipartBody5774451258306906069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737949764971,"filename":"image_27012025_03_23_02_257360_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/f198bb3f161a1ff5c8b577af5a97cf65.jpg","text":"TemporaryFile(/tmp/multipartBody3202009294114232243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737949764971,"filename":"image_27012025_03_22_02_748851_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/15bb5be0c1636b4fb63d37db3144d2a0.jpg","text":"TemporaryFile(/tmp/multipartBody1871828909105965485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737949764971,"filename":"image_27012025_03_23_02_257360_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331855437","file1":"1331855243","file0":"1331855242","file4":"1331855686","file5":"1331855717","file3":"1331855636"},"map_files_photo_id_array":[{"photo_id":"1331855717","filename":"file5"},{"photo_id":"1331855437","filename":"file2"},{"photo_id":"1331855686","filename":"file4"},{"photo_id":"1331855243","filename":"file1"},{"photo_id":"1331855242","filename":"file0"},{"photo_id":"1331855636","filename":"file3"}],"portfolio_id":19942284,"hashtag_by_photo_ids":[{"1331855636":["hashtag1","hashtag2"]},{"1331855717":["hashtag1","hashtag2"]},{"1331855243":["hashtag1","hashtag2"]},{"1331855686":["hashtag1","hashtag2"]},{"1331855242":["hashtag1","hashtag2"]},{"1331855437":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942284 used, photo_id : ArrayBuffer(1331855636, 1331855717, 1331855243, 1331855686, 1331855242, 1331855437)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 103.81734490394592 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-27 04:49:22.006599
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/03/24/image_27012025_03_24_02_728763_0000.jpg', '/home/pi/Desktop/images/27012025/03/24/image_27012025_03_24_02_728763_0001.jpg', '/home/pi/Desktop/images/27012025/03/24/image_27012025_03_24_02_728763_0002.jpg', '/home/pi/Desktop/images/27012025/03/24/image_27012025_03_24_02_728763_0003.jpg', '/home/pi/Desktop/images/27012025/03/25/image_27012025_03_25_02_340476_0000.jpg', '/home/pi/Desktop/images/27012025/03/25/image_27012025_03_25_02_340476_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/03/24/image_27012025_03_24_02_728763_0000.jpg
/home/pi/Desktop/images/27012025/03/24/image_27012025_03_24_02_728763_0001.jpg
/home/pi/Desktop/images/27012025/03/24/image_27012025_03_24_02_728763_0002.jpg
/home/pi/Desktop/images/27012025/03/24/image_27012025_03_24_02_728763_0003.jpg
/home/pi/Desktop/images/27012025/03/25/image_27012025_03_25_02_340476_0000.jpg
/home/pi/Desktop/images/27012025/03/25/image_27012025_03_25_02_340476_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331855808","1331855936","1331855816","1331855831","1331855812","1331855809"],"photo_ids_order":["1331855808","1331855809","1331855812","1331855816","1331855831","1331855936"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/6354d184aab642d948a187ac7f9287b3.jpg","text":"TemporaryFile(/tmp/multipartBody1558997292294943806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737949883090,"filename":"image_27012025_03_24_02_728763_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/e4deb9b725d1002a3bd582558c3e8a93.jpg","text":"TemporaryFile(/tmp/multipartBody8765741533979520972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737949883090,"filename":"image_27012025_03_25_02_340476_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/de811cbf99acdfa6fd57506350649161.jpg","text":"TemporaryFile(/tmp/multipartBody2934650478084705639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737949883090,"filename":"image_27012025_03_24_02_728763_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/1deba5a9e612783bd8f6ed8a9c7dd86f.jpg","text":"TemporaryFile(/tmp/multipartBody7974438663886898634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737949883090,"filename":"image_27012025_03_25_02_340476_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/24eecf5b7b0961761a6ea11eab3b985d.jpg","text":"TemporaryFile(/tmp/multipartBody7626096351339755703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737949883090,"filename":"image_27012025_03_24_02_728763_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/c17778ac130e9a83dc2fb104184eca13.jpg","text":"TemporaryFile(/tmp/multipartBody4891173585823235076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737949883090,"filename":"image_27012025_03_24_02_728763_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331855812","file1":"1331855809","file0":"1331855808","file4":"1331855831","file5":"1331855936","file3":"1331855816"},"map_files_photo_id_array":[{"photo_id":"1331855936","filename":"file5"},{"photo_id":"1331855812","filename":"file2"},{"photo_id":"1331855831","filename":"file4"},{"photo_id":"1331855809","filename":"file1"},{"photo_id":"1331855808","filename":"file0"},{"photo_id":"1331855816","filename":"file3"}],"portfolio_id":19942284,"hashtag_by_photo_ids":[{"1331855808":["hashtag1","hashtag2"]},{"1331855936":["hashtag1","hashtag2"]},{"1331855816":["hashtag1","hashtag2"]},{"1331855831":["hashtag1","hashtag2"]},{"1331855812":["hashtag1","hashtag2"]},{"1331855809":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942284 used, photo_id : ArrayBuffer(1331855808, 1331855936, 1331855816, 1331855831, 1331855812, 1331855809)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 100.95151257514954 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-27 04:51:21.896014
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/03/25/image_27012025_03_25_02_340476_0002.jpg', '/home/pi/Desktop/images/27012025/03/25/image_27012025_03_25_02_340476_0003.jpg', '/home/pi/Desktop/images/27012025/03/26/image_27012025_03_26_02_825101_0000.jpg', '/home/pi/Desktop/images/27012025/03/26/image_27012025_03_26_02_825101_0001.jpg', '/home/pi/Desktop/images/27012025/03/26/image_27012025_03_26_02_825101_0002.jpg', '/home/pi/Desktop/images/27012025/03/26/image_27012025_03_26_02_825101_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/03/25/image_27012025_03_25_02_340476_0002.jpg
/home/pi/Desktop/images/27012025/03/25/image_27012025_03_25_02_340476_0003.jpg
/home/pi/Desktop/images/27012025/03/26/image_27012025_03_26_02_825101_0000.jpg
/home/pi/Desktop/images/27012025/03/26/image_27012025_03_26_02_825101_0001.jpg
/home/pi/Desktop/images/27012025/03/26/image_27012025_03_26_02_825101_0002.jpg
/home/pi/Desktop/images/27012025/03/26/image_27012025_03_26_02_825101_0003.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331856135","1331856138","1331856155","1331856133","1331856150","1331856144"],"photo_ids_order":["1331856133","1331856135","1331856138","1331856144","1331856150","1331856155"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/ae191126378dd8ce2734c8a1134f4bf2.jpg","text":"TemporaryFile(/tmp/multipartBody8099745345288269847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737950003208,"filename":"image_27012025_03_25_02_340476_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/10a55e27ab7b4e16cea0404dfaa73c76.jpg","text":"TemporaryFile(/tmp/multipartBody1131089821051187264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737950003208,"filename":"image_27012025_03_26_02_825101_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/82ec9efaaecf79d44c252060422fb92b.jpg","text":"TemporaryFile(/tmp/multipartBody8822340273815370936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737950003208,"filename":"image_27012025_03_26_02_825101_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/fe40de5a905dbfbe2f1f6375c3d4c110.jpg","text":"TemporaryFile(/tmp/multipartBody1863843257181190295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737950003208,"filename":"image_27012025_03_25_02_340476_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/0476569096b1ab1b919eb2f7ae001310.jpg","text":"TemporaryFile(/tmp/multipartBody565308855203908366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737950003208,"filename":"image_27012025_03_26_02_825101_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/582b055e6ba08c4e556de6e56e056350.jpg","text":"TemporaryFile(/tmp/multipartBody6737183255254374049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737950003208,"filename":"image_27012025_03_26_02_825101_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331856138","file1":"1331856135","file0":"1331856133","file4":"1331856150","file5":"1331856155","file3":"1331856144"},"map_files_photo_id_array":[{"photo_id":"1331856155","filename":"file5"},{"photo_id":"1331856138","filename":"file2"},{"photo_id":"1331856150","filename":"file4"},{"photo_id":"1331856135","filename":"file1"},{"photo_id":"1331856133","filename":"file0"},{"photo_id":"1331856144","filename":"file3"}],"portfolio_id":19942284,"hashtag_by_photo_ids":[{"1331856135":["hashtag1","hashtag2"]},{"1331856138":["hashtag1","hashtag2"]},{"1331856155":["hashtag1","hashtag2"]},{"1331856133":["hashtag1","hashtag2"]},{"1331856150":["hashtag1","hashtag2"]},{"1331856144":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942284 used, photo_id : ArrayBuffer(1331856135, 1331856138, 1331856155, 1331856133, 1331856150, 1331856144)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 102.33550572395325 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-27 04:53:22.045930
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/03/27/image_27012025_03_27_02_333559_0000.jpg', '/home/pi/Desktop/images/27012025/03/27/image_27012025_03_27_02_333559_0001.jpg', '/home/pi/Desktop/images/27012025/03/27/image_27012025_03_27_02_333559_0002.jpg', '/home/pi/Desktop/images/27012025/03/27/image_27012025_03_27_02_333559_0003.jpg', '/home/pi/Desktop/images/27012025/03/28/image_27012025_03_28_02_840414_0000.jpg', '/home/pi/Desktop/images/27012025/03/28/image_27012025_03_28_02_840414_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/03/27/image_27012025_03_27_02_333559_0000.jpg
/home/pi/Desktop/images/27012025/03/27/image_27012025_03_27_02_333559_0001.jpg
/home/pi/Desktop/images/27012025/03/27/image_27012025_03_27_02_333559_0002.jpg
/home/pi/Desktop/images/27012025/03/27/image_27012025_03_27_02_333559_0003.jpg
/home/pi/Desktop/images/27012025/03/28/image_27012025_03_28_02_840414_0000.jpg
/home/pi/Desktop/images/27012025/03/28/image_27012025_03_28_02_840414_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331856191","1331856206","1331856199","1331856203","1331856193","1331856196"],"photo_ids_order":["1331856191","1331856193","1331856196","1331856199","1331856203","1331856206"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/f645877fa0d2784d27f1902b82802f06.jpg","text":"TemporaryFile(/tmp/multipartBody5598375301105475310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737950122768,"filename":"image_27012025_03_27_02_333559_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/a727a59b4146ca6e077c1678c24d5be3.jpg","text":"TemporaryFile(/tmp/multipartBody2688475652607778564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737950122768,"filename":"image_27012025_03_28_02_840414_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/7e1bedd960837749749ce09582276a04.jpg","text":"TemporaryFile(/tmp/multipartBody8746224487396566176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737950122768,"filename":"image_27012025_03_27_02_333559_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/50d90a11d81b7c8e5855d106fbf86d1e.jpg","text":"TemporaryFile(/tmp/multipartBody498369988345093226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737950122768,"filename":"image_27012025_03_28_02_840414_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/d715898682a997e783b2e84dc841e172.jpg","text":"TemporaryFile(/tmp/multipartBody7866420422048637899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737950122768,"filename":"image_27012025_03_27_02_333559_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/a31b36ec2870071f26f654a46ecad98c.jpg","text":"TemporaryFile(/tmp/multipartBody5115662437617597335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737950122768,"filename":"image_27012025_03_27_02_333559_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331856196","file1":"1331856193","file0":"1331856191","file4":"1331856203","file5":"1331856206","file3":"1331856199"},"map_files_photo_id_array":[{"photo_id":"1331856206","filename":"file5"},{"photo_id":"1331856196","filename":"file2"},{"photo_id":"1331856203","filename":"file4"},{"photo_id":"1331856193","filename":"file1"},{"photo_id":"1331856191","filename":"file0"},{"photo_id":"1331856199","filename":"file3"}],"portfolio_id":19942284,"hashtag_by_photo_ids":[{"1331856191":["hashtag1","hashtag2"]},{"1331856206":["hashtag1","hashtag2"]},{"1331856199":["hashtag1","hashtag2"]},{"1331856203":["hashtag1","hashtag2"]},{"1331856193":["hashtag1","hashtag2"]},{"1331856196":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942284 used, photo_id : ArrayBuffer(1331856191, 1331856206, 1331856199, 1331856203, 1331856193, 1331856196)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 102.00159859657288 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-27 04:55:22.052283
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/03/28/image_27012025_03_28_02_840414_0002.jpg', '/home/pi/Desktop/images/27012025/03/28/image_27012025_03_28_02_840414_0003.jpg', '/home/pi/Desktop/images/27012025/03/29/image_27012025_03_29_02_320017_0000.jpg', '/home/pi/Desktop/images/27012025/03/29/image_27012025_03_29_02_320017_0001.jpg', '/home/pi/Desktop/images/27012025/03/29/image_27012025_03_29_02_320017_0002.jpg', '/home/pi/Desktop/images/27012025/03/29/image_27012025_03_29_02_320017_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/03/28/image_27012025_03_28_02_840414_0002.jpg
/home/pi/Desktop/images/27012025/03/28/image_27012025_03_28_02_840414_0003.jpg
/home/pi/Desktop/images/27012025/03/29/image_27012025_03_29_02_320017_0000.jpg
/home/pi/Desktop/images/27012025/03/29/image_27012025_03_29_02_320017_0001.jpg
/home/pi/Desktop/images/27012025/03/29/image_27012025_03_29_02_320017_0002.jpg
/home/pi/Desktop/images/27012025/03/29/image_27012025_03_29_02_320017_0003.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331856281","1331856263","1331856277","1331856271","1331856265","1331856268"],"photo_ids_order":["1331856263","1331856265","1331856268","1331856271","1331856277","1331856281"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/b1d846a01c04983a1e68b4703bea0110.jpg","text":"TemporaryFile(/tmp/multipartBody1079771292888115131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737950245015,"filename":"image_27012025_03_29_02_320017_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/96ecd3c6a8bd8557ee1ce319be147365.jpg","text":"TemporaryFile(/tmp/multipartBody9080160605504690534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737950245015,"filename":"image_27012025_03_28_02_840414_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/5e8f12a151964b3b12ac66721f8d99ef.jpg","text":"TemporaryFile(/tmp/multipartBody8255599692178698907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737950245015,"filename":"image_27012025_03_29_02_320017_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/360eb22a7676d32e6389c7e1c67a72c5.jpg","text":"TemporaryFile(/tmp/multipartBody2983144750720444199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737950245015,"filename":"image_27012025_03_29_02_320017_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/100973f8da845a9c4ca5c0b30c1f8c2a.jpg","text":"TemporaryFile(/tmp/multipartBody7426281439119024844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737950245015,"filename":"image_27012025_03_28_02_840414_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/d8a3e5239713a0b642c0af1cf949869e.jpg","text":"TemporaryFile(/tmp/multipartBody1692663538208223397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737950245015,"filename":"image_27012025_03_29_02_320017_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331856268","file1":"1331856265","file0":"1331856263","file4":"1331856277","file5":"1331856281","file3":"1331856271"},"map_files_photo_id_array":[{"photo_id":"1331856281","filename":"file5"},{"photo_id":"1331856268","filename":"file2"},{"photo_id":"1331856277","filename":"file4"},{"photo_id":"1331856265","filename":"file1"},{"photo_id":"1331856263","filename":"file0"},{"photo_id":"1331856271","filename":"file3"}],"portfolio_id":19942284,"hashtag_by_photo_ids":[{"1331856281":["hashtag1","hashtag2"]},{"1331856263":["hashtag1","hashtag2"]},{"1331856277":["hashtag1","hashtag2"]},{"1331856271":["hashtag1","hashtag2"]},{"1331856265":["hashtag1","hashtag2"]},{"1331856268":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942284 used, photo_id : ArrayBuffer(1331856281, 1331856263, 1331856277, 1331856271, 1331856265, 1331856268)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 104.8918719291687 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-27 04:57:22.041925
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/03/30/image_27012025_03_30_02_874247_0000.jpg', '/home/pi/Desktop/images/27012025/03/30/image_27012025_03_30_02_874247_0001.jpg', '/home/pi/Desktop/images/27012025/03/30/image_27012025_03_30_02_874247_0002.jpg', '/home/pi/Desktop/images/27012025/03/30/image_27012025_03_30_02_874247_0003.jpg', '/home/pi/Desktop/images/27012025/03/31/image_27012025_03_31_02_386801_0000.jpg', '/home/pi/Desktop/images/27012025/03/31/image_27012025_03_31_02_386801_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/03/30/image_27012025_03_30_02_874247_0000.jpg
/home/pi/Desktop/images/27012025/03/30/image_27012025_03_30_02_874247_0001.jpg
/home/pi/Desktop/images/27012025/03/30/image_27012025_03_30_02_874247_0002.jpg
/home/pi/Desktop/images/27012025/03/30/image_27012025_03_30_02_874247_0003.jpg
/home/pi/Desktop/images/27012025/03/31/image_27012025_03_31_02_386801_0000.jpg
/home/pi/Desktop/images/27012025/03/31/image_27012025_03_31_02_386801_0001.jpg
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 04:59:03.383761
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/03/30/image_27012025_03_30_02_874247_0000.jpg', '/home/pi/Desktop/images/27012025/03/30/image_27012025_03_30_02_874247_0001.jpg', '/home/pi/Desktop/images/27012025/03/30/image_27012025_03_30_02_874247_0002.jpg', '/home/pi/Desktop/images/27012025/03/30/image_27012025_03_30_02_874247_0003.jpg', '/home/pi/Desktop/images/27012025/03/31/image_27012025_03_31_02_386801_0000.jpg', '/home/pi/Desktop/images/27012025/03/31/image_27012025_03_31_02_386801_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/03/30/image_27012025_03_30_02_874247_0000.jpg
/home/pi/Desktop/images/27012025/03/30/image_27012025_03_30_02_874247_0001.jpg
/home/pi/Desktop/images/27012025/03/30/image_27012025_03_30_02_874247_0002.jpg
/home/pi/Desktop/images/27012025/03/30/image_27012025_03_30_02_874247_0003.jpg
/home/pi/Desktop/images/27012025/03/31/image_27012025_03_31_02_386801_0000.jpg
/home/pi/Desktop/images/27012025/03/31/image_27012025_03_31_02_386801_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 60.64485836029053 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-27 05:00:22.228389
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/03/30/image_27012025_03_30_02_874247_0000.jpg', '/home/pi/Desktop/images/27012025/03/30/image_27012025_03_30_02_874247_0001.jpg', '/home/pi/Desktop/images/27012025/03/30/image_27012025_03_30_02_874247_0002.jpg', '/home/pi/Desktop/images/27012025/03/30/image_27012025_03_30_02_874247_0003.jpg', '/home/pi/Desktop/images/27012025/03/31/image_27012025_03_31_02_386801_0000.jpg', '/home/pi/Desktop/images/27012025/03/31/image_27012025_03_31_02_386801_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/03/30/image_27012025_03_30_02_874247_0000.jpg
/home/pi/Desktop/images/27012025/03/30/image_27012025_03_30_02_874247_0001.jpg
/home/pi/Desktop/images/27012025/03/30/image_27012025_03_30_02_874247_0002.jpg
/home/pi/Desktop/images/27012025/03/30/image_27012025_03_30_02_874247_0003.jpg
/home/pi/Desktop/images/27012025/03/31/image_27012025_03_31_02_386801_0000.jpg
/home/pi/Desktop/images/27012025/03/31/image_27012025_03_31_02_386801_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 60.644649028778076 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 05:02:02.602926
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/03/30/image_27012025_03_30_02_874247_0000.jpg', '/home/pi/Desktop/images/27012025/03/30/image_27012025_03_30_02_874247_0001.jpg', '/home/pi/Desktop/images/27012025/03/30/image_27012025_03_30_02_874247_0002.jpg', '/home/pi/Desktop/images/27012025/03/30/image_27012025_03_30_02_874247_0003.jpg', '/home/pi/Desktop/images/27012025/03/31/image_27012025_03_31_02_386801_0000.jpg', '/home/pi/Desktop/images/27012025/03/31/image_27012025_03_31_02_386801_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/03/30/image_27012025_03_30_02_874247_0000.jpg
/home/pi/Desktop/images/27012025/03/30/image_27012025_03_30_02_874247_0001.jpg
/home/pi/Desktop/images/27012025/03/30/image_27012025_03_30_02_874247_0002.jpg
/home/pi/Desktop/images/27012025/03/30/image_27012025_03_30_02_874247_0003.jpg
/home/pi/Desktop/images/27012025/03/31/image_27012025_03_31_02_386801_0000.jpg
/home/pi/Desktop/images/27012025/03/31/image_27012025_03_31_02_386801_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331858272","1331858281","1331858277","1331858274","1331858523","1331858279"],"photo_ids_order":["1331858272","1331858274","1331858277","1331858279","1331858281","1331858523"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/2c1eb162f01ab4cfa5e4e888639989da.jpg","text":"TemporaryFile(/tmp/multipartBody8660569133178398253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737950643645,"filename":"image_27012025_03_30_02_874247_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/e2522d6f3e6255a721e70e704d43e8c8.jpg","text":"TemporaryFile(/tmp/multipartBody1875042564418561291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737950643645,"filename":"image_27012025_03_31_02_386801_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/3f1240212fbcb336a643689bb6c28d11.jpg","text":"TemporaryFile(/tmp/multipartBody6366360276803402107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737950643645,"filename":"image_27012025_03_30_02_874247_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/ca418b8edd19db744fb67cde8fabd49d.jpg","text":"TemporaryFile(/tmp/multipartBody518594225242936561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737950643645,"filename":"image_27012025_03_30_02_874247_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/78730d4f681d19804e12a34fda0e52fe.jpg","text":"TemporaryFile(/tmp/multipartBody5811094016797269298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737950643645,"filename":"image_27012025_03_31_02_386801_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/e917cf11edb70e74b75eaca2d83444c7.jpg","text":"TemporaryFile(/tmp/multipartBody7729373852657078487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737950643645,"filename":"image_27012025_03_30_02_874247_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331858277","file1":"1331858274","file0":"1331858272","file4":"1331858281","file5":"1331858523","file3":"1331858279"},"map_files_photo_id_array":[{"photo_id":"1331858523","filename":"file5"},{"photo_id":"1331858277","filename":"file2"},{"photo_id":"1331858281","filename":"file4"},{"photo_id":"1331858274","filename":"file1"},{"photo_id":"1331858272","filename":"file0"},{"photo_id":"1331858279","filename":"file3"}],"portfolio_id":19942284,"hashtag_by_photo_ids":[{"1331858272":["hashtag1","hashtag2"]},{"1331858281":["hashtag1","hashtag2"]},{"1331858277":["hashtag1","hashtag2"]},{"1331858274":["hashtag1","hashtag2"]},{"1331858523":["hashtag1","hashtag2"]},{"1331858279":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942284 used, photo_id : ArrayBuffer(1331858272, 1331858281, 1331858277, 1331858274, 1331858523, 1331858279)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 102.25939154624939 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 05:04:02.787437
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/03/31/image_27012025_03_31_02_386801_0002.jpg', '/home/pi/Desktop/images/27012025/03/31/image_27012025_03_31_02_386801_0003.jpg', '/home/pi/Desktop/images/27012025/03/32/image_27012025_03_32_02_912736_0000.jpg', '/home/pi/Desktop/images/27012025/03/32/image_27012025_03_32_02_912736_0001.jpg', '/home/pi/Desktop/images/27012025/03/32/image_27012025_03_32_02_912736_0002.jpg', '/home/pi/Desktop/images/27012025/03/32/image_27012025_03_32_02_912736_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/03/31/image_27012025_03_31_02_386801_0002.jpg
/home/pi/Desktop/images/27012025/03/31/image_27012025_03_31_02_386801_0003.jpg
/home/pi/Desktop/images/27012025/03/32/image_27012025_03_32_02_912736_0000.jpg
/home/pi/Desktop/images/27012025/03/32/image_27012025_03_32_02_912736_0001.jpg
/home/pi/Desktop/images/27012025/03/32/image_27012025_03_32_02_912736_0002.jpg
/home/pi/Desktop/images/27012025/03/32/image_27012025_03_32_02_912736_0003.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331859145","1331859205","1331859147","1331859234","1331859143","1331859140"],"photo_ids_order":["1331859140","1331859143","1331859145","1331859147","1331859205","1331859234"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/36f54a6f1d53c38ad9e1ed316bad9a89.jpg","text":"TemporaryFile(/tmp/multipartBody1125080205357246862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737950765559,"filename":"image_27012025_03_32_02_912736_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/bfca023b1bdf10ac174f39bb41397bbe.jpg","text":"TemporaryFile(/tmp/multipartBody3307640722713593401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737950765559,"filename":"image_27012025_03_32_02_912736_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/3e9e66dd045c4ce7b71aea6b48558946.jpg","text":"TemporaryFile(/tmp/multipartBody2901517052815619294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737950765559,"filename":"image_27012025_03_32_02_912736_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/07e00a6190c733ad5f6e7b808a388422.jpg","text":"TemporaryFile(/tmp/multipartBody7695193740273539324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737950765559,"filename":"image_27012025_03_32_02_912736_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/ebf010135af181a9ee230e0acd8909a3.jpg","text":"TemporaryFile(/tmp/multipartBody7335899177568279064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737950765559,"filename":"image_27012025_03_31_02_386801_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/0cd5be1e57e067fe9a4439befb009f4a.jpg","text":"TemporaryFile(/tmp/multipartBody434155592193215999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737950765559,"filename":"image_27012025_03_31_02_386801_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331859145","file1":"1331859143","file0":"1331859140","file4":"1331859205","file5":"1331859234","file3":"1331859147"},"map_files_photo_id_array":[{"photo_id":"1331859234","filename":"file5"},{"photo_id":"1331859145","filename":"file2"},{"photo_id":"1331859205","filename":"file4"},{"photo_id":"1331859143","filename":"file1"},{"photo_id":"1331859140","filename":"file0"},{"photo_id":"1331859147","filename":"file3"}],"portfolio_id":19942284,"hashtag_by_photo_ids":[{"1331859145":["hashtag1","hashtag2"]},{"1331859205":["hashtag1","hashtag2"]},{"1331859147":["hashtag1","hashtag2"]},{"1331859234":["hashtag1","hashtag2"]},{"1331859143":["hashtag1","hashtag2"]},{"1331859140":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942284 used, photo_id : ArrayBuffer(1331859145, 1331859205, 1331859147, 1331859234, 1331859143, 1331859140)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 102.16732048988342 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 05:06:02.576533
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/03/33/image_27012025_03_33_02_465139_0000.jpg', '/home/pi/Desktop/images/27012025/03/33/image_27012025_03_33_02_465139_0001.jpg', '/home/pi/Desktop/images/27012025/03/33/image_27012025_03_33_02_465139_0002.jpg', '/home/pi/Desktop/images/27012025/03/33/image_27012025_03_33_02_465139_0003.jpg', '/home/pi/Desktop/images/27012025/03/34/image_27012025_03_34_02_964903_0000.jpg', '/home/pi/Desktop/images/27012025/03/34/image_27012025_03_34_02_964903_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/03/33/image_27012025_03_33_02_465139_0000.jpg
/home/pi/Desktop/images/27012025/03/33/image_27012025_03_33_02_465139_0001.jpg
/home/pi/Desktop/images/27012025/03/33/image_27012025_03_33_02_465139_0002.jpg
/home/pi/Desktop/images/27012025/03/33/image_27012025_03_33_02_465139_0003.jpg
/home/pi/Desktop/images/27012025/03/34/image_27012025_03_34_02_964903_0000.jpg
/home/pi/Desktop/images/27012025/03/34/image_27012025_03_34_02_964903_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331859382","1331859385","1331859367","1331859361","1331859378","1331859380"],"photo_ids_order":["1331859361","1331859367","1331859378","1331859380","1331859382","1331859385"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/e1c1c9ee70615f8b2b8b08e59ff8e528.jpg","text":"TemporaryFile(/tmp/multipartBody5738115042032452123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737950884339,"filename":"image_27012025_03_34_02_964903_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/e14f43c080c68605a0a28bc46c24b427.jpg","text":"TemporaryFile(/tmp/multipartBody6211077609889619866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737950884339,"filename":"image_27012025_03_34_02_964903_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/e2281e2ec8e9e3e37a7d2d2808374db2.jpg","text":"TemporaryFile(/tmp/multipartBody35263884836384656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737950884339,"filename":"image_27012025_03_33_02_465139_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/eb89a471584f6da098b073f93242b337.jpg","text":"TemporaryFile(/tmp/multipartBody6016108030081669792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737950884339,"filename":"image_27012025_03_33_02_465139_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/0ce3b0a0c98b6998f43e2f511d20223d.jpg","text":"TemporaryFile(/tmp/multipartBody7093956292246983319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737950884339,"filename":"image_27012025_03_33_02_465139_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/2918e305272acb5493bd2aa9a52742dc.jpg","text":"TemporaryFile(/tmp/multipartBody5559210496213651705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737950884339,"filename":"image_27012025_03_33_02_465139_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331859378","file1":"1331859367","file0":"1331859361","file4":"1331859382","file5":"1331859385","file3":"1331859380"},"map_files_photo_id_array":[{"photo_id":"1331859385","filename":"file5"},{"photo_id":"1331859378","filename":"file2"},{"photo_id":"1331859382","filename":"file4"},{"photo_id":"1331859367","filename":"file1"},{"photo_id":"1331859361","filename":"file0"},{"photo_id":"1331859380","filename":"file3"}],"portfolio_id":19942284,"hashtag_by_photo_ids":[{"1331859382":["hashtag1","hashtag2"]},{"1331859385":["hashtag1","hashtag2"]},{"1331859367":["hashtag1","hashtag2"]},{"1331859361":["hashtag1","hashtag2"]},{"1331859378":["hashtag1","hashtag2"]},{"1331859380":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942284 used, photo_id : ArrayBuffer(1331859382, 1331859385, 1331859367, 1331859361, 1331859378, 1331859380)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 103.07422828674316 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 05:08:02.741675
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/03/34/image_27012025_03_34_02_964903_0002.jpg', '/home/pi/Desktop/images/27012025/03/34/image_27012025_03_34_02_964903_0003.jpg', '/home/pi/Desktop/images/27012025/03/35/image_27012025_03_35_02_474471_0000.jpg', '/home/pi/Desktop/images/27012025/03/35/image_27012025_03_35_02_474471_0001.jpg', '/home/pi/Desktop/images/27012025/03/35/image_27012025_03_35_02_474471_0002.jpg', '/home/pi/Desktop/images/27012025/03/35/image_27012025_03_35_02_474471_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/03/34/image_27012025_03_34_02_964903_0002.jpg
/home/pi/Desktop/images/27012025/03/34/image_27012025_03_34_02_964903_0003.jpg
/home/pi/Desktop/images/27012025/03/35/image_27012025_03_35_02_474471_0000.jpg
/home/pi/Desktop/images/27012025/03/35/image_27012025_03_35_02_474471_0001.jpg
/home/pi/Desktop/images/27012025/03/35/image_27012025_03_35_02_474471_0002.jpg
/home/pi/Desktop/images/27012025/03/35/image_27012025_03_35_02_474471_0003.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331859430","1331859427","1331859423","1331859417","1331859432","1331859419"],"photo_ids_order":["1331859417","1331859419","1331859423","1331859427","1331859430","1331859432"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/b2c1420c62840321ffd3a2e2b14e44d2.jpg","text":"TemporaryFile(/tmp/multipartBody6978533841273860891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737951002537,"filename":"image_27012025_03_35_02_474471_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/aee400a87f80630d76c308b7302a03a2.jpg","text":"TemporaryFile(/tmp/multipartBody2082268112276640425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737951002537,"filename":"image_27012025_03_35_02_474471_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/b64709ddb249902851085a47d190e54e.jpg","text":"TemporaryFile(/tmp/multipartBody8479566567015337144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737951002537,"filename":"image_27012025_03_35_02_474471_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/418e8bbb2711235136edfb958c899e81.jpg","text":"TemporaryFile(/tmp/multipartBody9184994225186208892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737951002537,"filename":"image_27012025_03_34_02_964903_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/3d515bc2d00e2ea79f1b087ed92e4d3d.jpg","text":"TemporaryFile(/tmp/multipartBody5851600139210381604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737951002537,"filename":"image_27012025_03_35_02_474471_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/220ff950505b205d0d6e8a9d7e5cdd1d.jpg","text":"TemporaryFile(/tmp/multipartBody7065680876641690637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737951002537,"filename":"image_27012025_03_34_02_964903_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331859423","file1":"1331859419","file0":"1331859417","file4":"1331859430","file5":"1331859432","file3":"1331859427"},"map_files_photo_id_array":[{"photo_id":"1331859432","filename":"file5"},{"photo_id":"1331859423","filename":"file2"},{"photo_id":"1331859430","filename":"file4"},{"photo_id":"1331859419","filename":"file1"},{"photo_id":"1331859417","filename":"file0"},{"photo_id":"1331859427","filename":"file3"}],"portfolio_id":19942284,"hashtag_by_photo_ids":[{"1331859430":["hashtag1","hashtag2"]},{"1331859427":["hashtag1","hashtag2"]},{"1331859423":["hashtag1","hashtag2"]},{"1331859417":["hashtag1","hashtag2"]},{"1331859432":["hashtag1","hashtag2"]},{"1331859419":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942284 used, photo_id : ArrayBuffer(1331859430, 1331859427, 1331859423, 1331859417, 1331859432, 1331859419)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 99.40553259849548 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 05:10:02.801271
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/03/36/image_27012025_03_36_03_011472_0000.jpg', '/home/pi/Desktop/images/27012025/03/36/image_27012025_03_36_03_011472_0001.jpg', '/home/pi/Desktop/images/27012025/03/36/image_27012025_03_36_03_011472_0002.jpg', '/home/pi/Desktop/images/27012025/03/36/image_27012025_03_36_03_011472_0003.jpg', '/home/pi/Desktop/images/27012025/03/37/image_27012025_03_37_02_476019_0000.jpg', '/home/pi/Desktop/images/27012025/03/37/image_27012025_03_37_02_476019_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/03/36/image_27012025_03_36_03_011472_0000.jpg
/home/pi/Desktop/images/27012025/03/36/image_27012025_03_36_03_011472_0001.jpg
/home/pi/Desktop/images/27012025/03/36/image_27012025_03_36_03_011472_0002.jpg
/home/pi/Desktop/images/27012025/03/36/image_27012025_03_36_03_011472_0003.jpg
/home/pi/Desktop/images/27012025/03/37/image_27012025_03_37_02_476019_0000.jpg
/home/pi/Desktop/images/27012025/03/37/image_27012025_03_37_02_476019_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331859973","1331859967","1331859969","1331859966","1331859968","1331859965"],"photo_ids_order":["1331859965","1331859966","1331859967","1331859968","1331859969","1331859973"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/11c8ec46522f27b71eefa04d705475b9.jpg","text":"TemporaryFile(/tmp/multipartBody348257016551140635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737951124816,"filename":"image_27012025_03_37_02_476019_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/cc35ff82a591a66bc95e4900dd60a4c2.jpg","text":"TemporaryFile(/tmp/multipartBody5492360673711864160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737951124816,"filename":"image_27012025_03_36_03_011472_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/997cdfd65987711f8eb0a7cf6d8d826e.jpg","text":"TemporaryFile(/tmp/multipartBody5802875210898054850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737951124816,"filename":"image_27012025_03_37_02_476019_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/cbd6d79d201ee209196e3f2b7a9a6941.jpg","text":"TemporaryFile(/tmp/multipartBody1179395917716235060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737951124816,"filename":"image_27012025_03_36_03_011472_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/da16098e33e46b7f308905b6f520ad6e.jpg","text":"TemporaryFile(/tmp/multipartBody7263452846094849380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737951124816,"filename":"image_27012025_03_36_03_011472_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/1df64a28cd4cdbff894716608ec49388.jpg","text":"TemporaryFile(/tmp/multipartBody4587100260514581697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737951124816,"filename":"image_27012025_03_36_03_011472_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331859967","file1":"1331859966","file0":"1331859965","file4":"1331859969","file5":"1331859973","file3":"1331859968"},"map_files_photo_id_array":[{"photo_id":"1331859973","filename":"file5"},{"photo_id":"1331859967","filename":"file2"},{"photo_id":"1331859969","filename":"file4"},{"photo_id":"1331859966","filename":"file1"},{"photo_id":"1331859965","filename":"file0"},{"photo_id":"1331859968","filename":"file3"}],"portfolio_id":19942284,"hashtag_by_photo_ids":[{"1331859973":["hashtag1","hashtag2"]},{"1331859967":["hashtag1","hashtag2"]},{"1331859969":["hashtag1","hashtag2"]},{"1331859966":["hashtag1","hashtag2"]},{"1331859968":["hashtag1","hashtag2"]},{"1331859965":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942284 used, photo_id : ArrayBuffer(1331859973, 1331859967, 1331859969, 1331859966, 1331859968, 1331859965)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 103.71843910217285 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 05:12:02.760875
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/03/37/image_27012025_03_37_02_476019_0002.jpg', '/home/pi/Desktop/images/27012025/03/37/image_27012025_03_37_02_476019_0003.jpg', '/home/pi/Desktop/images/27012025/03/38/image_27012025_03_38_03_020325_0000.jpg', '/home/pi/Desktop/images/27012025/03/38/image_27012025_03_38_03_020325_0001.jpg', '/home/pi/Desktop/images/27012025/03/38/image_27012025_03_38_03_020325_0002.jpg', '/home/pi/Desktop/images/27012025/03/38/image_27012025_03_38_03_020325_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/03/37/image_27012025_03_37_02_476019_0002.jpg
/home/pi/Desktop/images/27012025/03/37/image_27012025_03_37_02_476019_0003.jpg
/home/pi/Desktop/images/27012025/03/38/image_27012025_03_38_03_020325_0000.jpg
/home/pi/Desktop/images/27012025/03/38/image_27012025_03_38_03_020325_0001.jpg
/home/pi/Desktop/images/27012025/03/38/image_27012025_03_38_03_020325_0002.jpg
/home/pi/Desktop/images/27012025/03/38/image_27012025_03_38_03_020325_0003.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331860013","1331860027","1331860009","1331860050","1331860047","1331860005"],"photo_ids_order":["1331860005","1331860009","1331860013","1331860027","1331860047","1331860050"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/8b6404e9d2d0700a59ea951042af9ffb.jpg","text":"TemporaryFile(/tmp/multipartBody8665430495182669559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737951243543,"filename":"image_27012025_03_38_03_020325_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/b3a184dcfc9eee31cf09ea9545c8df66.jpg","text":"TemporaryFile(/tmp/multipartBody1732092736364747089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737951243543,"filename":"image_27012025_03_38_03_020325_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/b91c677c583df0c0720728f1c3581a78.jpg","text":"TemporaryFile(/tmp/multipartBody3034833762171854741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737951243543,"filename":"image_27012025_03_37_02_476019_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/472be8516fdf6ca3f40ec811d57ebd52.jpg","text":"TemporaryFile(/tmp/multipartBody508061818975576222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737951243543,"filename":"image_27012025_03_38_03_020325_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/88f579c268935a7c5871392bee6dda96.jpg","text":"TemporaryFile(/tmp/multipartBody1483371765852576418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737951243543,"filename":"image_27012025_03_38_03_020325_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/f678b3af1e9c0215cb6ada8acf930f46.jpg","text":"TemporaryFile(/tmp/multipartBody7156131223320701996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737951243543,"filename":"image_27012025_03_37_02_476019_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331860013","file1":"1331860009","file0":"1331860005","file4":"1331860047","file5":"1331860050","file3":"1331860027"},"map_files_photo_id_array":[{"photo_id":"1331860050","filename":"file5"},{"photo_id":"1331860013","filename":"file2"},{"photo_id":"1331860047","filename":"file4"},{"photo_id":"1331860009","filename":"file1"},{"photo_id":"1331860005","filename":"file0"},{"photo_id":"1331860027","filename":"file3"}],"portfolio_id":19942284,"hashtag_by_photo_ids":[{"1331860013":["hashtag1","hashtag2"]},{"1331860027":["hashtag1","hashtag2"]},{"1331860009":["hashtag1","hashtag2"]},{"1331860050":["hashtag1","hashtag2"]},{"1331860047":["hashtag1","hashtag2"]},{"1331860005":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942284 used, photo_id : ArrayBuffer(1331860013, 1331860027, 1331860009, 1331860050, 1331860047, 1331860005)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 103.03338170051575 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 05:14:02.870330
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/03/39/image_27012025_03_39_02_551141_0000.jpg', '/home/pi/Desktop/images/27012025/03/39/image_27012025_03_39_02_551141_0001.jpg', '/home/pi/Desktop/images/27012025/03/39/image_27012025_03_39_02_551141_0002.jpg', '/home/pi/Desktop/images/27012025/03/39/image_27012025_03_39_02_551141_0003.jpg', '/home/pi/Desktop/images/27012025/03/40/image_27012025_03_40_03_039772_0000.jpg', '/home/pi/Desktop/images/27012025/03/40/image_27012025_03_40_03_039772_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/03/39/image_27012025_03_39_02_551141_0000.jpg
/home/pi/Desktop/images/27012025/03/39/image_27012025_03_39_02_551141_0001.jpg
/home/pi/Desktop/images/27012025/03/39/image_27012025_03_39_02_551141_0002.jpg
/home/pi/Desktop/images/27012025/03/39/image_27012025_03_39_02_551141_0003.jpg
/home/pi/Desktop/images/27012025/03/40/image_27012025_03_40_03_039772_0000.jpg
/home/pi/Desktop/images/27012025/03/40/image_27012025_03_40_03_039772_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331860822","1331860950","1331860929","1331860815","1331860818","1331860829"],"photo_ids_order":["1331860815","1331860818","1331860822","1331860829","1331860929","1331860950"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/1a6c5c97eef50822d393ac08f48106ff.jpg","text":"TemporaryFile(/tmp/multipartBody7317796442477060851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737951364848,"filename":"image_27012025_03_39_02_551141_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/84f60bd9983f74daa138e74bc813f76d.jpg","text":"TemporaryFile(/tmp/multipartBody2298084541558520359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737951364848,"filename":"image_27012025_03_40_03_039772_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/ca4623f078f65a39e0a0d7e3380c0059.jpg","text":"TemporaryFile(/tmp/multipartBody8661579303934934623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737951364848,"filename":"image_27012025_03_40_03_039772_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/0fc129067f4391863687b2e47b99edff.jpg","text":"TemporaryFile(/tmp/multipartBody5586945790586658769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737951364848,"filename":"image_27012025_03_39_02_551141_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/c9491f10cac48dbf69b8eb439150ae48.jpg","text":"TemporaryFile(/tmp/multipartBody431359107172159659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737951364848,"filename":"image_27012025_03_39_02_551141_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/e37df34503dc8608258116eddf238fd6.jpg","text":"TemporaryFile(/tmp/multipartBody4171251102354265996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737951364848,"filename":"image_27012025_03_39_02_551141_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331860822","file1":"1331860818","file0":"1331860815","file4":"1331860929","file5":"1331860950","file3":"1331860829"},"map_files_photo_id_array":[{"photo_id":"1331860950","filename":"file5"},{"photo_id":"1331860822","filename":"file2"},{"photo_id":"1331860929","filename":"file4"},{"photo_id":"1331860818","filename":"file1"},{"photo_id":"1331860815","filename":"file0"},{"photo_id":"1331860829","filename":"file3"}],"portfolio_id":19942284,"hashtag_by_photo_ids":[{"1331860822":["hashtag1","hashtag2"]},{"1331860950":["hashtag1","hashtag2"]},{"1331860929":["hashtag1","hashtag2"]},{"1331860815":["hashtag1","hashtag2"]},{"1331860818":["hashtag1","hashtag2"]},{"1331860829":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942284 used, photo_id : ArrayBuffer(1331860822, 1331860950, 1331860929, 1331860815, 1331860818, 1331860829)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 101.66613864898682 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 05:16:02.711901
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/03/40/image_27012025_03_40_03_039772_0002.jpg', '/home/pi/Desktop/images/27012025/03/40/image_27012025_03_40_03_039772_0003.jpg', '/home/pi/Desktop/images/27012025/03/41/image_27012025_03_41_02_535485_0000.jpg', '/home/pi/Desktop/images/27012025/03/41/image_27012025_03_41_02_535485_0001.jpg', '/home/pi/Desktop/images/27012025/03/41/image_27012025_03_41_02_535485_0002.jpg', '/home/pi/Desktop/images/27012025/03/41/image_27012025_03_41_02_535485_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/03/40/image_27012025_03_40_03_039772_0002.jpg
/home/pi/Desktop/images/27012025/03/40/image_27012025_03_40_03_039772_0003.jpg
/home/pi/Desktop/images/27012025/03/41/image_27012025_03_41_02_535485_0000.jpg
/home/pi/Desktop/images/27012025/03/41/image_27012025_03_41_02_535485_0001.jpg
/home/pi/Desktop/images/27012025/03/41/image_27012025_03_41_02_535485_0002.jpg
/home/pi/Desktop/images/27012025/03/41/image_27012025_03_41_02_535485_0003.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 60.580745697021484 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-27 05:17:22.002612
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/03/40/image_27012025_03_40_03_039772_0002.jpg', '/home/pi/Desktop/images/27012025/03/40/image_27012025_03_40_03_039772_0003.jpg', '/home/pi/Desktop/images/27012025/03/41/image_27012025_03_41_02_535485_0000.jpg', '/home/pi/Desktop/images/27012025/03/41/image_27012025_03_41_02_535485_0001.jpg', '/home/pi/Desktop/images/27012025/03/41/image_27012025_03_41_02_535485_0002.jpg', '/home/pi/Desktop/images/27012025/03/41/image_27012025_03_41_02_535485_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/03/40/image_27012025_03_40_03_039772_0002.jpg
/home/pi/Desktop/images/27012025/03/40/image_27012025_03_40_03_039772_0003.jpg
/home/pi/Desktop/images/27012025/03/41/image_27012025_03_41_02_535485_0000.jpg
/home/pi/Desktop/images/27012025/03/41/image_27012025_03_41_02_535485_0001.jpg
/home/pi/Desktop/images/27012025/03/41/image_27012025_03_41_02_535485_0002.jpg
/home/pi/Desktop/images/27012025/03/41/image_27012025_03_41_02_535485_0003.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331862163","1331862127","1331862167","1331862143","1331862160","1331862154"],"photo_ids_order":["1331862127","1331862143","1331862154","1331862160","1331862163","1331862167"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/e79489320b674444dad192a5eeb43d8b.jpg","text":"TemporaryFile(/tmp/multipartBody3657125446179099292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737951562939,"filename":"image_27012025_03_41_02_535485_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/f40d05820499746e8aedd227fadd41dc.jpg","text":"TemporaryFile(/tmp/multipartBody5270287330437071498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737951562939,"filename":"image_27012025_03_40_03_039772_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/8fece30745a3aecb7d5b7f04a8bcd99b.jpg","text":"TemporaryFile(/tmp/multipartBody3026854051616186729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737951562939,"filename":"image_27012025_03_41_02_535485_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/88b631dbf411eda2e5d08b015c9d79bc.jpg","text":"TemporaryFile(/tmp/multipartBody5733708092720854248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737951562939,"filename":"image_27012025_03_40_03_039772_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/9b4349784c244bef8d5ededca4b1a734.jpg","text":"TemporaryFile(/tmp/multipartBody756096033140591538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737951562939,"filename":"image_27012025_03_41_02_535485_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/17cf83a8081b1dbad985713efad3df2f.jpg","text":"TemporaryFile(/tmp/multipartBody6359075517898246564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737951562939,"filename":"image_27012025_03_41_02_535485_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331862154","file1":"1331862143","file0":"1331862127","file4":"1331862163","file5":"1331862167","file3":"1331862160"},"map_files_photo_id_array":[{"photo_id":"1331862167","filename":"file5"},{"photo_id":"1331862154","filename":"file2"},{"photo_id":"1331862163","filename":"file4"},{"photo_id":"1331862143","filename":"file1"},{"photo_id":"1331862127","filename":"file0"},{"photo_id":"1331862160","filename":"file3"}],"portfolio_id":19942284,"hashtag_by_photo_ids":[{"1331862163":["hashtag1","hashtag2"]},{"1331862127":["hashtag1","hashtag2"]},{"1331862167":["hashtag1","hashtag2"]},{"1331862143":["hashtag1","hashtag2"]},{"1331862160":["hashtag1","hashtag2"]},{"1331862154":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942284 used, photo_id : ArrayBuffer(1331862163, 1331862127, 1331862167, 1331862143, 1331862160, 1331862154)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 101.1544873714447 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-27 05:19:22.075794
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/03/42/image_27012025_03_42_03_062932_0000.jpg', '/home/pi/Desktop/images/27012025/03/42/image_27012025_03_42_03_062932_0001.jpg', '/home/pi/Desktop/images/27012025/03/42/image_27012025_03_42_03_062932_0002.jpg', '/home/pi/Desktop/images/27012025/03/42/image_27012025_03_42_03_062932_0003.jpg', '/home/pi/Desktop/images/27012025/03/43/image_27012025_03_43_02_633338_0000.jpg', '/home/pi/Desktop/images/27012025/03/43/image_27012025_03_43_02_633338_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/03/42/image_27012025_03_42_03_062932_0000.jpg
/home/pi/Desktop/images/27012025/03/42/image_27012025_03_42_03_062932_0001.jpg
/home/pi/Desktop/images/27012025/03/42/image_27012025_03_42_03_062932_0002.jpg
/home/pi/Desktop/images/27012025/03/42/image_27012025_03_42_03_062932_0003.jpg
/home/pi/Desktop/images/27012025/03/43/image_27012025_03_43_02_633338_0000.jpg
/home/pi/Desktop/images/27012025/03/43/image_27012025_03_43_02_633338_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331862220","1331862214","1331862217","1331862210","1331862206","1331862203"],"photo_ids_order":["1331862203","1331862206","1331862210","1331862214","1331862217","1331862220"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/5db8973c61cd72c658a786852c6f6bf5.jpg","text":"TemporaryFile(/tmp/multipartBody3897275537790097184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737951683163,"filename":"image_27012025_03_43_02_633338_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/d426fea38e65acd3393443ff2cb026ea.jpg","text":"TemporaryFile(/tmp/multipartBody5963580661845245875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737951683163,"filename":"image_27012025_03_42_03_062932_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/e50e1d7f91b6f7abce4a60e5c6cb4357.jpg","text":"TemporaryFile(/tmp/multipartBody87534713502084367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737951683163,"filename":"image_27012025_03_43_02_633338_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/62c85f7d94704bfd7c592abfcbfa9bb3.jpg","text":"TemporaryFile(/tmp/multipartBody2266623680191427487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737951683163,"filename":"image_27012025_03_42_03_062932_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/d8a5d4b8df11f17bbdd190680079feee.jpg","text":"TemporaryFile(/tmp/multipartBody524205457501216441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737951683163,"filename":"image_27012025_03_42_03_062932_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/00b31e70857d10f6569933bce1839bd6.jpg","text":"TemporaryFile(/tmp/multipartBody8215020886463594492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737951683163,"filename":"image_27012025_03_42_03_062932_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331862210","file1":"1331862206","file0":"1331862203","file4":"1331862217","file5":"1331862220","file3":"1331862214"},"map_files_photo_id_array":[{"photo_id":"1331862220","filename":"file5"},{"photo_id":"1331862210","filename":"file2"},{"photo_id":"1331862217","filename":"file4"},{"photo_id":"1331862206","filename":"file1"},{"photo_id":"1331862203","filename":"file0"},{"photo_id":"1331862214","filename":"file3"}],"portfolio_id":19942284,"hashtag_by_photo_ids":[{"1331862220":["hashtag1","hashtag2"]},{"1331862214":["hashtag1","hashtag2"]},{"1331862217":["hashtag1","hashtag2"]},{"1331862210":["hashtag1","hashtag2"]},{"1331862206":["hashtag1","hashtag2"]},{"1331862203":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942284 used, photo_id : ArrayBuffer(1331862220, 1331862214, 1331862217, 1331862210, 1331862206, 1331862203)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 101.85639429092407 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-27 05:21:22.261701
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/03/43/image_27012025_03_43_02_633338_0002.jpg', '/home/pi/Desktop/images/27012025/03/43/image_27012025_03_43_02_633338_0003.jpg', '/home/pi/Desktop/images/27012025/03/44/image_27012025_03_44_02_162847_0000.jpg', '/home/pi/Desktop/images/27012025/03/44/image_27012025_03_44_02_162847_0001.jpg', '/home/pi/Desktop/images/27012025/03/44/image_27012025_03_44_02_162847_0002.jpg', '/home/pi/Desktop/images/27012025/03/44/image_27012025_03_44_02_162847_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/03/43/image_27012025_03_43_02_633338_0002.jpg
/home/pi/Desktop/images/27012025/03/43/image_27012025_03_43_02_633338_0003.jpg
/home/pi/Desktop/images/27012025/03/44/image_27012025_03_44_02_162847_0000.jpg
/home/pi/Desktop/images/27012025/03/44/image_27012025_03_44_02_162847_0001.jpg
/home/pi/Desktop/images/27012025/03/44/image_27012025_03_44_02_162847_0002.jpg
/home/pi/Desktop/images/27012025/03/44/image_27012025_03_44_02_162847_0003.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331862288","1331862303","1331862293","1331862278","1331862298","1331862280"],"photo_ids_order":["1331862278","1331862280","1331862288","1331862293","1331862298","1331862303"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/187158aa6bd6303e4d9b8624bf54aee9.jpg","text":"TemporaryFile(/tmp/multipartBody1922101527172745383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737951804211,"filename":"image_27012025_03_44_02_162847_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/16033d28c2a884ad5bdaad297798ba1b.jpg","text":"TemporaryFile(/tmp/multipartBody2222985720417688363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737951804211,"filename":"image_27012025_03_44_02_162847_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/08619c2bcee95215f8708e8ac4993f3b.jpg","text":"TemporaryFile(/tmp/multipartBody7624280329848311034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737951804211,"filename":"image_27012025_03_44_02_162847_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/d3a9019a180d0f1e8efa9e3fb17ee609.jpg","text":"TemporaryFile(/tmp/multipartBody8201164904826784522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737951804211,"filename":"image_27012025_03_43_02_633338_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/611ce72e5578e5a833056f6d8313cdf2.jpg","text":"TemporaryFile(/tmp/multipartBody8665921867710059820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737951804211,"filename":"image_27012025_03_44_02_162847_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/de15e0844af535a630afce7c5f4b3541.jpg","text":"TemporaryFile(/tmp/multipartBody4142507009028145331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737951804211,"filename":"image_27012025_03_43_02_633338_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331862288","file1":"1331862280","file0":"1331862278","file4":"1331862298","file5":"1331862303","file3":"1331862293"},"map_files_photo_id_array":[{"photo_id":"1331862303","filename":"file5"},{"photo_id":"1331862288","filename":"file2"},{"photo_id":"1331862298","filename":"file4"},{"photo_id":"1331862280","filename":"file1"},{"photo_id":"1331862278","filename":"file0"},{"photo_id":"1331862293","filename":"file3"}],"portfolio_id":19942284,"hashtag_by_photo_ids":[{"1331862288":["hashtag1","hashtag2"]},{"1331862303":["hashtag1","hashtag2"]},{"1331862293":["hashtag1","hashtag2"]},{"1331862278":["hashtag1","hashtag2"]},{"1331862298":["hashtag1","hashtag2"]},{"1331862280":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942284 used, photo_id : ArrayBuffer(1331862288, 1331862303, 1331862293, 1331862278, 1331862298, 1331862280)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 101.68262910842896 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-27 05:23:22.239464
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/03/45/image_27012025_03_45_02_738412_0000.jpg', '/home/pi/Desktop/images/27012025/03/45/image_27012025_03_45_02_738412_0001.jpg', '/home/pi/Desktop/images/27012025/03/45/image_27012025_03_45_02_738412_0002.jpg', '/home/pi/Desktop/images/27012025/03/45/image_27012025_03_45_02_738412_0003.jpg', '/home/pi/Desktop/images/27012025/03/46/image_27012025_03_46_02_324389_0000.jpg', '/home/pi/Desktop/images/27012025/03/46/image_27012025_03_46_02_324389_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/03/45/image_27012025_03_45_02_738412_0000.jpg
/home/pi/Desktop/images/27012025/03/45/image_27012025_03_45_02_738412_0001.jpg
/home/pi/Desktop/images/27012025/03/45/image_27012025_03_45_02_738412_0002.jpg
/home/pi/Desktop/images/27012025/03/45/image_27012025_03_45_02_738412_0003.jpg
/home/pi/Desktop/images/27012025/03/46/image_27012025_03_46_02_324389_0000.jpg
/home/pi/Desktop/images/27012025/03/46/image_27012025_03_46_02_324389_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331862349","1331862343","1331862384","1331862374","1331862353","1331862346"],"photo_ids_order":["1331862343","1331862346","1331862349","1331862353","1331862374","1331862384"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/8c2b5683f7e293d27c5b6d8eea869779.jpg","text":"TemporaryFile(/tmp/multipartBody4544570266499345395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737951924061,"filename":"image_27012025_03_45_02_738412_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/00aff601b1c998a4be26be107a0c3aed.jpg","text":"TemporaryFile(/tmp/multipartBody9083539728561392232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737951924061,"filename":"image_27012025_03_45_02_738412_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/96e241ee4cb86fee72829cad2df7a86a.jpg","text":"TemporaryFile(/tmp/multipartBody2939519184715435745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737951924061,"filename":"image_27012025_03_46_02_324389_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/ddeb1fa04d6fe0788fc477290140abc4.jpg","text":"TemporaryFile(/tmp/multipartBody3903254651084797219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737951924061,"filename":"image_27012025_03_46_02_324389_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/9c119894e1435f939e4e7c6aa8c68cbe.jpg","text":"TemporaryFile(/tmp/multipartBody4919221018988538086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737951924061,"filename":"image_27012025_03_45_02_738412_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/3f8207421c141611d88efa3647de9c50.jpg","text":"TemporaryFile(/tmp/multipartBody855114758584317754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737951924061,"filename":"image_27012025_03_45_02_738412_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331862349","file1":"1331862346","file0":"1331862343","file4":"1331862374","file5":"1331862384","file3":"1331862353"},"map_files_photo_id_array":[{"photo_id":"1331862384","filename":"file5"},{"photo_id":"1331862349","filename":"file2"},{"photo_id":"1331862374","filename":"file4"},{"photo_id":"1331862346","filename":"file1"},{"photo_id":"1331862343","filename":"file0"},{"photo_id":"1331862353","filename":"file3"}],"portfolio_id":19942284,"hashtag_by_photo_ids":[{"1331862349":["hashtag1","hashtag2"]},{"1331862343":["hashtag1","hashtag2"]},{"1331862384":["hashtag1","hashtag2"]},{"1331862374":["hashtag1","hashtag2"]},{"1331862353":["hashtag1","hashtag2"]},{"1331862346":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942284 used, photo_id : ArrayBuffer(1331862349, 1331862343, 1331862384, 1331862374, 1331862353, 1331862346)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 101.50234961509705 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-27 05:25:22.358463
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/03/46/image_27012025_03_46_02_324389_0002.jpg', '/home/pi/Desktop/images/27012025/03/46/image_27012025_03_46_02_324389_0003.jpg', '/home/pi/Desktop/images/27012025/03/47/image_27012025_03_47_02_885170_0000.jpg', '/home/pi/Desktop/images/27012025/03/47/image_27012025_03_47_02_885170_0001.jpg', '/home/pi/Desktop/images/27012025/03/47/image_27012025_03_47_02_885170_0002.jpg', '/home/pi/Desktop/images/27012025/03/47/image_27012025_03_47_02_885170_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/03/46/image_27012025_03_46_02_324389_0002.jpg
/home/pi/Desktop/images/27012025/03/46/image_27012025_03_46_02_324389_0003.jpg
/home/pi/Desktop/images/27012025/03/47/image_27012025_03_47_02_885170_0000.jpg
/home/pi/Desktop/images/27012025/03/47/image_27012025_03_47_02_885170_0001.jpg
/home/pi/Desktop/images/27012025/03/47/image_27012025_03_47_02_885170_0002.jpg
/home/pi/Desktop/images/27012025/03/47/image_27012025_03_47_02_885170_0003.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331863452","1331863289","1331863190","1331863400","1331863084","1331863456"],"photo_ids_order":["1331863084","1331863190","1331863289","1331863400","1331863452","1331863456"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/f238f5dbf48166f74ff6c51db92f6bc3.jpg","text":"TemporaryFile(/tmp/multipartBody1667706622165417397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737952043103,"filename":"image_27012025_03_47_02_885170_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/7501305ad348cd78d14fd9b36a7a733e.jpg","text":"TemporaryFile(/tmp/multipartBody3409432999968405502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737952043103,"filename":"image_27012025_03_47_02_885170_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/c27557c83e4e00e3a09023df3741134b.jpg","text":"TemporaryFile(/tmp/multipartBody3327667095609991837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737952043103,"filename":"image_27012025_03_46_02_324389_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/c084d89d1b65b235fb147a655548c4bc.jpg","text":"TemporaryFile(/tmp/multipartBody5125614393892212062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737952043103,"filename":"image_27012025_03_47_02_885170_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/1ed3a2f9b88bdcdae82425cc5bd93dc8.jpg","text":"TemporaryFile(/tmp/multipartBody1455023428261922142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737952043103,"filename":"image_27012025_03_46_02_324389_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/18432ab20c46f86433dc15527c823ba2.jpg","text":"TemporaryFile(/tmp/multipartBody1837171266818867277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737952043103,"filename":"image_27012025_03_47_02_885170_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331863289","file1":"1331863190","file0":"1331863084","file4":"1331863452","file5":"1331863456","file3":"1331863400"},"map_files_photo_id_array":[{"photo_id":"1331863456","filename":"file5"},{"photo_id":"1331863289","filename":"file2"},{"photo_id":"1331863452","filename":"file4"},{"photo_id":"1331863190","filename":"file1"},{"photo_id":"1331863084","filename":"file0"},{"photo_id":"1331863400","filename":"file3"}],"portfolio_id":19942284,"hashtag_by_photo_ids":[{"1331863452":["hashtag1","hashtag2"]},{"1331863289":["hashtag1","hashtag2"]},{"1331863190":["hashtag1","hashtag2"]},{"1331863400":["hashtag1","hashtag2"]},{"1331863084":["hashtag1","hashtag2"]},{"1331863456":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942284 used, photo_id : ArrayBuffer(1331863452, 1331863289, 1331863190, 1331863400, 1331863084, 1331863456)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 102.21455764770508 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-27 05:27:22.544276
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/03/48/image_27012025_03_48_02_513407_0000.jpg', '/home/pi/Desktop/images/27012025/03/48/image_27012025_03_48_02_513407_0001.jpg', '/home/pi/Desktop/images/27012025/03/48/image_27012025_03_48_02_513407_0002.jpg', '/home/pi/Desktop/images/27012025/03/48/image_27012025_03_48_02_513407_0003.jpg', '/home/pi/Desktop/images/27012025/03/49/image_27012025_03_49_03_070839_0000.jpg', '/home/pi/Desktop/images/27012025/03/49/image_27012025_03_49_03_070839_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/03/48/image_27012025_03_48_02_513407_0000.jpg
/home/pi/Desktop/images/27012025/03/48/image_27012025_03_48_02_513407_0001.jpg
/home/pi/Desktop/images/27012025/03/48/image_27012025_03_48_02_513407_0002.jpg
/home/pi/Desktop/images/27012025/03/48/image_27012025_03_48_02_513407_0003.jpg
/home/pi/Desktop/images/27012025/03/49/image_27012025_03_49_03_070839_0000.jpg
/home/pi/Desktop/images/27012025/03/49/image_27012025_03_49_03_070839_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331863845","1331863833","1331863841","1331863835","1331863829","1331863843"],"photo_ids_order":["1331863829","1331863833","1331863835","1331863841","1331863843","1331863845"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/27c7220619ec7169587d630aafa7f290.jpg","text":"TemporaryFile(/tmp/multipartBody1342872209801106524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737952163479,"filename":"image_27012025_03_49_03_070839_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/3abd82dcc0363a28182cf34ae5d4b3bd.jpg","text":"TemporaryFile(/tmp/multipartBody9133451018327393943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737952163479,"filename":"image_27012025_03_48_02_513407_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/77a6dada24c6f642987c6f86a0b6612e.jpg","text":"TemporaryFile(/tmp/multipartBody7219461857427646709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737952163479,"filename":"image_27012025_03_48_02_513407_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/0318c30eca157664e0517021228b4e89.jpg","text":"TemporaryFile(/tmp/multipartBody474222315361964583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737952163479,"filename":"image_27012025_03_48_02_513407_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/f2139a965bb9f88ebc2773fd6c7d37fa.jpg","text":"TemporaryFile(/tmp/multipartBody7046832299838090582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737952163479,"filename":"image_27012025_03_48_02_513407_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/a41f9cc35c11c8681a5ad88c0cfe7904.jpg","text":"TemporaryFile(/tmp/multipartBody544609011571252944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737952163479,"filename":"image_27012025_03_49_03_070839_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331863835","file1":"1331863833","file0":"1331863829","file4":"1331863843","file5":"1331863845","file3":"1331863841"},"map_files_photo_id_array":[{"photo_id":"1331863845","filename":"file5"},{"photo_id":"1331863835","filename":"file2"},{"photo_id":"1331863843","filename":"file4"},{"photo_id":"1331863833","filename":"file1"},{"photo_id":"1331863829","filename":"file0"},{"photo_id":"1331863841","filename":"file3"}],"portfolio_id":19942284,"hashtag_by_photo_ids":[{"1331863845":["hashtag1","hashtag2"]},{"1331863833":["hashtag1","hashtag2"]},{"1331863841":["hashtag1","hashtag2"]},{"1331863835":["hashtag1","hashtag2"]},{"1331863829":["hashtag1","hashtag2"]},{"1331863843":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942284 used, photo_id : ArrayBuffer(1331863845, 1331863833, 1331863841, 1331863835, 1331863829, 1331863843)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 101.31120753288269 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-27 05:29:22.440273
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/03/49/image_27012025_03_49_03_070839_0002.jpg', '/home/pi/Desktop/images/27012025/03/49/image_27012025_03_49_03_070839_0003.jpg', '/home/pi/Desktop/images/27012025/03/50/image_27012025_03_50_02_544996_0000.jpg', '/home/pi/Desktop/images/27012025/03/50/image_27012025_03_50_02_544996_0001.jpg', '/home/pi/Desktop/images/27012025/03/50/image_27012025_03_50_02_544996_0002.jpg', '/home/pi/Desktop/images/27012025/03/50/image_27012025_03_50_02_544996_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/03/49/image_27012025_03_49_03_070839_0002.jpg
/home/pi/Desktop/images/27012025/03/49/image_27012025_03_49_03_070839_0003.jpg
/home/pi/Desktop/images/27012025/03/50/image_27012025_03_50_02_544996_0000.jpg
/home/pi/Desktop/images/27012025/03/50/image_27012025_03_50_02_544996_0001.jpg
/home/pi/Desktop/images/27012025/03/50/image_27012025_03_50_02_544996_0002.jpg
/home/pi/Desktop/images/27012025/03/50/image_27012025_03_50_02_544996_0003.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331864360","1331864362","1331864356","1331864388","1331864358","1331864325"],"photo_ids_order":["1331864325","1331864356","1331864358","1331864360","1331864362","1331864388"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/5b4f0a8de8f27e43cb3ec90a2f3e7566.jpg","text":"TemporaryFile(/tmp/multipartBody6028113921794039689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737952285546,"filename":"image_27012025_03_50_02_544996_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/f2b55c790119c3d36697c2809e48bd47.jpg","text":"TemporaryFile(/tmp/multipartBody3568563485209750840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737952285546,"filename":"image_27012025_03_50_02_544996_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/7a20fe8901e9f525850a0384044a6c03.jpg","text":"TemporaryFile(/tmp/multipartBody3091095518700746862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737952285546,"filename":"image_27012025_03_49_03_070839_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/dfc4cc0e95c0f5e6f7a3f7165ee2d691.jpg","text":"TemporaryFile(/tmp/multipartBody3208859248911914668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737952285546,"filename":"image_27012025_03_50_02_544996_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/e9f32b978cf25e00e4a400e072b52b8f.jpg","text":"TemporaryFile(/tmp/multipartBody5965230633937324991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737952285546,"filename":"image_27012025_03_50_02_544996_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/6e476aad553595b11ea7162c95261d51.jpg","text":"TemporaryFile(/tmp/multipartBody157792872195791549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737952285546,"filename":"image_27012025_03_49_03_070839_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331864358","file1":"1331864356","file0":"1331864325","file4":"1331864362","file5":"1331864388","file3":"1331864360"},"map_files_photo_id_array":[{"photo_id":"1331864388","filename":"file5"},{"photo_id":"1331864358","filename":"file2"},{"photo_id":"1331864362","filename":"file4"},{"photo_id":"1331864356","filename":"file1"},{"photo_id":"1331864325","filename":"file0"},{"photo_id":"1331864360","filename":"file3"}],"portfolio_id":19942284,"hashtag_by_photo_ids":[{"1331864360":["hashtag1","hashtag2"]},{"1331864362":["hashtag1","hashtag2"]},{"1331864356":["hashtag1","hashtag2"]},{"1331864388":["hashtag1","hashtag2"]},{"1331864358":["hashtag1","hashtag2"]},{"1331864325":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942284 used, photo_id : ArrayBuffer(1331864360, 1331864362, 1331864356, 1331864388, 1331864358, 1331864325)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 103.24563884735107 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-27 05:31:22.504324
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/03/51/image_27012025_03_51_03_068920_0000.jpg', '/home/pi/Desktop/images/27012025/03/51/image_27012025_03_51_03_068920_0001.jpg', '/home/pi/Desktop/images/27012025/03/51/image_27012025_03_51_03_068920_0002.jpg', '/home/pi/Desktop/images/27012025/03/51/image_27012025_03_51_03_068920_0003.jpg', '/home/pi/Desktop/images/27012025/03/52/image_27012025_03_52_02_701410_0000.jpg', '/home/pi/Desktop/images/27012025/03/52/image_27012025_03_52_02_701410_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/03/51/image_27012025_03_51_03_068920_0000.jpg
/home/pi/Desktop/images/27012025/03/51/image_27012025_03_51_03_068920_0001.jpg
/home/pi/Desktop/images/27012025/03/51/image_27012025_03_51_03_068920_0002.jpg
/home/pi/Desktop/images/27012025/03/51/image_27012025_03_51_03_068920_0003.jpg
/home/pi/Desktop/images/27012025/03/52/image_27012025_03_52_02_701410_0000.jpg
/home/pi/Desktop/images/27012025/03/52/image_27012025_03_52_02_701410_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331864436","1331864456","1331864452","1331864446","1331864449","1331864434"],"photo_ids_order":["1331864434","1331864436","1331864446","1331864449","1331864452","1331864456"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/ba2c33951d9fd6831dd186d1640cb9cc.jpg","text":"TemporaryFile(/tmp/multipartBody6725579491688043906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737952404463,"filename":"image_27012025_03_51_03_068920_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/151847d13f89bdce615fc98dfc500c61.jpg","text":"TemporaryFile(/tmp/multipartBody8742194389453120130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737952404463,"filename":"image_27012025_03_52_02_701410_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/40e4418674d04e3353e85aad8aa5f925.jpg","text":"TemporaryFile(/tmp/multipartBody8299393654204900211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737952404463,"filename":"image_27012025_03_52_02_701410_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/bf5a261ca518b339bb7d597df58dc6f1.jpg","text":"TemporaryFile(/tmp/multipartBody145632351034132916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737952404463,"filename":"image_27012025_03_51_03_068920_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/5c211683b2e526f69b1bf2de211e6022.jpg","text":"TemporaryFile(/tmp/multipartBody2753718297156038014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737952404463,"filename":"image_27012025_03_51_03_068920_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/f987eb08bbc5092c1052e6d731ff485a.jpg","text":"TemporaryFile(/tmp/multipartBody8255082468736550493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737952404463,"filename":"image_27012025_03_51_03_068920_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331864446","file1":"1331864436","file0":"1331864434","file4":"1331864452","file5":"1331864456","file3":"1331864449"},"map_files_photo_id_array":[{"photo_id":"1331864456","filename":"file5"},{"photo_id":"1331864446","filename":"file2"},{"photo_id":"1331864452","filename":"file4"},{"photo_id":"1331864436","filename":"file1"},{"photo_id":"1331864434","filename":"file0"},{"photo_id":"1331864449","filename":"file3"}],"portfolio_id":19942284,"hashtag_by_photo_ids":[{"1331864436":["hashtag1","hashtag2"]},{"1331864456":["hashtag1","hashtag2"]},{"1331864452":["hashtag1","hashtag2"]},{"1331864446":["hashtag1","hashtag2"]},{"1331864449":["hashtag1","hashtag2"]},{"1331864434":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942284 used, photo_id : ArrayBuffer(1331864436, 1331864456, 1331864452, 1331864446, 1331864449, 1331864434)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 104.34464979171753 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-27 05:33:22.595058
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/03/52/image_27012025_03_52_02_701410_0002.jpg', '/home/pi/Desktop/images/27012025/03/52/image_27012025_03_52_02_701410_0003.jpg', '/home/pi/Desktop/images/27012025/03/53/image_27012025_03_53_02_208334_0000.jpg', '/home/pi/Desktop/images/27012025/03/53/image_27012025_03_53_02_208334_0001.jpg', '/home/pi/Desktop/images/27012025/03/53/image_27012025_03_53_02_208334_0002.jpg', '/home/pi/Desktop/images/27012025/03/53/image_27012025_03_53_02_208334_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/03/52/image_27012025_03_52_02_701410_0002.jpg
/home/pi/Desktop/images/27012025/03/52/image_27012025_03_52_02_701410_0003.jpg
/home/pi/Desktop/images/27012025/03/53/image_27012025_03_53_02_208334_0000.jpg
/home/pi/Desktop/images/27012025/03/53/image_27012025_03_53_02_208334_0001.jpg
/home/pi/Desktop/images/27012025/03/53/image_27012025_03_53_02_208334_0002.jpg
/home/pi/Desktop/images/27012025/03/53/image_27012025_03_53_02_208334_0003.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331864535","1331864529","1331864525","1331864519","1331864539","1331864521"],"photo_ids_order":["1331864519","1331864521","1331864525","1331864529","1331864535","1331864539"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/696a450b8e00e74c0cc7c6b52314eea6.jpg","text":"TemporaryFile(/tmp/multipartBody6238544808160965052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737952523955,"filename":"image_27012025_03_53_02_208334_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/5733bb3060d1e7bb95e20727cabe385f.jpg","text":"TemporaryFile(/tmp/multipartBody3963687208807043062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737952523955,"filename":"image_27012025_03_53_02_208334_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/8e2b31aa92c2f8169670ca22f672bb84.jpg","text":"TemporaryFile(/tmp/multipartBody594677385269538257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737952523955,"filename":"image_27012025_03_53_02_208334_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/569c747e2b2670170797d36cd4f1fd97.jpg","text":"TemporaryFile(/tmp/multipartBody2684961679067797476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737952523955,"filename":"image_27012025_03_52_02_701410_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/279c94378de785faee06af35e94e25e7.jpg","text":"TemporaryFile(/tmp/multipartBody754828406869315372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737952523955,"filename":"image_27012025_03_53_02_208334_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/43147daece5d80b6e26cac80aa8deb02.jpg","text":"TemporaryFile(/tmp/multipartBody7383401629293785201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737952523955,"filename":"image_27012025_03_52_02_701410_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331864525","file1":"1331864521","file0":"1331864519","file4":"1331864535","file5":"1331864539","file3":"1331864529"},"map_files_photo_id_array":[{"photo_id":"1331864539","filename":"file5"},{"photo_id":"1331864525","filename":"file2"},{"photo_id":"1331864535","filename":"file4"},{"photo_id":"1331864521","filename":"file1"},{"photo_id":"1331864519","filename":"file0"},{"photo_id":"1331864529","filename":"file3"}],"portfolio_id":19942284,"hashtag_by_photo_ids":[{"1331864535":["hashtag1","hashtag2"]},{"1331864529":["hashtag1","hashtag2"]},{"1331864525":["hashtag1","hashtag2"]},{"1331864519":["hashtag1","hashtag2"]},{"1331864539":["hashtag1","hashtag2"]},{"1331864521":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942284 used, photo_id : ArrayBuffer(1331864535, 1331864529, 1331864525, 1331864519, 1331864539, 1331864521)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 99.61604332923889 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-27 05:35:22.646140
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/03/54/image_27012025_03_54_02_798343_0000.jpg', '/home/pi/Desktop/images/27012025/03/54/image_27012025_03_54_02_798343_0001.jpg', '/home/pi/Desktop/images/27012025/03/54/image_27012025_03_54_02_798343_0002.jpg', '/home/pi/Desktop/images/27012025/03/54/image_27012025_03_54_02_798343_0003.jpg', '/home/pi/Desktop/images/27012025/03/55/image_27012025_03_55_02_333191_0000.jpg', '/home/pi/Desktop/images/27012025/03/55/image_27012025_03_55_02_333191_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/03/54/image_27012025_03_54_02_798343_0000.jpg
/home/pi/Desktop/images/27012025/03/54/image_27012025_03_54_02_798343_0001.jpg
/home/pi/Desktop/images/27012025/03/54/image_27012025_03_54_02_798343_0002.jpg
/home/pi/Desktop/images/27012025/03/54/image_27012025_03_54_02_798343_0003.jpg
/home/pi/Desktop/images/27012025/03/55/image_27012025_03_55_02_333191_0000.jpg
/home/pi/Desktop/images/27012025/03/55/image_27012025_03_55_02_333191_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331865260","1331865199","1331865202","1331865192","1331864833","1331865021"],"photo_ids_order":["1331864833","1331865021","1331865192","1331865199","1331865202","1331865260"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/ee48a0474097e5e5b315f49ad352bd0a.jpg","text":"TemporaryFile(/tmp/multipartBody8603518425012473038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737952644648,"filename":"image_27012025_03_55_02_333191_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/d0a63fd383ccf8b6e55d2d7015610539.jpg","text":"TemporaryFile(/tmp/multipartBody3846594695682335291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737952644648,"filename":"image_27012025_03_54_02_798343_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/b8cf0946ab75dde544729ee519cdaf76.jpg","text":"TemporaryFile(/tmp/multipartBody6375886397132710785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737952644648,"filename":"image_27012025_03_55_02_333191_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/a8e12e9253a375356a5c94ebe9207be9.jpg","text":"TemporaryFile(/tmp/multipartBody1597592304384582682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737952644648,"filename":"image_27012025_03_54_02_798343_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/1037f352499fd7a03029fa60266df888.jpg","text":"TemporaryFile(/tmp/multipartBody3058344984852399454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737952644648,"filename":"image_27012025_03_54_02_798343_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/0ea99b17401fc4abb4dda2be3d08ddc0.jpg","text":"TemporaryFile(/tmp/multipartBody734864850495151948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737952644648,"filename":"image_27012025_03_54_02_798343_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331865192","file1":"1331865021","file0":"1331864833","file4":"1331865202","file5":"1331865260","file3":"1331865199"},"map_files_photo_id_array":[{"photo_id":"1331865260","filename":"file5"},{"photo_id":"1331865192","filename":"file2"},{"photo_id":"1331865202","filename":"file4"},{"photo_id":"1331865021","filename":"file1"},{"photo_id":"1331864833","filename":"file0"},{"photo_id":"1331865199","filename":"file3"}],"portfolio_id":19942284,"hashtag_by_photo_ids":[{"1331865260":["hashtag1","hashtag2"]},{"1331865199":["hashtag1","hashtag2"]},{"1331865202":["hashtag1","hashtag2"]},{"1331865192":["hashtag1","hashtag2"]},{"1331864833":["hashtag1","hashtag2"]},{"1331865021":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942284 used, photo_id : ArrayBuffer(1331865260, 1331865199, 1331865202, 1331865192, 1331864833, 1331865021)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 101.44202780723572 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-27 05:37:21.802544
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/03/55/image_27012025_03_55_02_333191_0002.jpg', '/home/pi/Desktop/images/27012025/03/55/image_27012025_03_55_02_333191_0003.jpg', '/home/pi/Desktop/images/27012025/03/56/image_27012025_03_56_02_776623_0000.jpg', '/home/pi/Desktop/images/27012025/03/56/image_27012025_03_56_02_776623_0001.jpg', '/home/pi/Desktop/images/27012025/03/56/image_27012025_03_56_02_776623_0002.jpg', '/home/pi/Desktop/images/27012025/03/56/image_27012025_03_56_02_776623_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/03/55/image_27012025_03_55_02_333191_0002.jpg
/home/pi/Desktop/images/27012025/03/55/image_27012025_03_55_02_333191_0003.jpg
/home/pi/Desktop/images/27012025/03/56/image_27012025_03_56_02_776623_0000.jpg
/home/pi/Desktop/images/27012025/03/56/image_27012025_03_56_02_776623_0001.jpg
/home/pi/Desktop/images/27012025/03/56/image_27012025_03_56_02_776623_0002.jpg
/home/pi/Desktop/images/27012025/03/56/image_27012025_03_56_02_776623_0003.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331866217","1331866282","1331866276","1331866279","1331866272","1331866040"],"photo_ids_order":["1331866040","1331866217","1331866272","1331866276","1331866279","1331866282"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/6ff8511a0cdb903e95eb304d1390cb22.jpg","text":"TemporaryFile(/tmp/multipartBody6804096924432070496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737952763124,"filename":"image_27012025_03_55_02_333191_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/19dc96396bc62add7d80709d893abcbb.jpg","text":"TemporaryFile(/tmp/multipartBody7175741717472554584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737952763124,"filename":"image_27012025_03_56_02_776623_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/d0c86a362209ea6a4a54b7514a16e2e2.jpg","text":"TemporaryFile(/tmp/multipartBody6266106910006346772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737952763124,"filename":"image_27012025_03_56_02_776623_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/ce2a5231b165295a5700b035bfb034e9.jpg","text":"TemporaryFile(/tmp/multipartBody494831338200231719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737952763124,"filename":"image_27012025_03_56_02_776623_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/a6fe137e194b666c5b5906204e8e921f.jpg","text":"TemporaryFile(/tmp/multipartBody6521611130017357187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737952763124,"filename":"image_27012025_03_56_02_776623_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/ec55a215966c95346a7a4c0c10ae2fa3.jpg","text":"TemporaryFile(/tmp/multipartBody7852604499674630488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737952763124,"filename":"image_27012025_03_55_02_333191_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331866272","file1":"1331866217","file0":"1331866040","file4":"1331866279","file5":"1331866282","file3":"1331866276"},"map_files_photo_id_array":[{"photo_id":"1331866282","filename":"file5"},{"photo_id":"1331866272","filename":"file2"},{"photo_id":"1331866279","filename":"file4"},{"photo_id":"1331866217","filename":"file1"},{"photo_id":"1331866040","filename":"file0"},{"photo_id":"1331866276","filename":"file3"}],"portfolio_id":19942284,"hashtag_by_photo_ids":[{"1331866217":["hashtag1","hashtag2"]},{"1331866282":["hashtag1","hashtag2"]},{"1331866276":["hashtag1","hashtag2"]},{"1331866279":["hashtag1","hashtag2"]},{"1331866272":["hashtag1","hashtag2"]},{"1331866040":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942284 used, photo_id : ArrayBuffer(1331866217, 1331866282, 1331866276, 1331866279, 1331866272, 1331866040)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 101.65713357925415 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-27 05:39:22.332585
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/03/57/image_27012025_03_57_02_520053_0000.jpg', '/home/pi/Desktop/images/27012025/03/57/image_27012025_03_57_02_520053_0001.jpg', '/home/pi/Desktop/images/27012025/03/57/image_27012025_03_57_02_520053_0002.jpg', '/home/pi/Desktop/images/27012025/03/57/image_27012025_03_57_02_520053_0003.jpg', '/home/pi/Desktop/images/27012025/03/58/image_27012025_03_58_03_037730_0000.jpg', '/home/pi/Desktop/images/27012025/03/58/image_27012025_03_58_03_037730_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/03/57/image_27012025_03_57_02_520053_0000.jpg
/home/pi/Desktop/images/27012025/03/57/image_27012025_03_57_02_520053_0001.jpg
/home/pi/Desktop/images/27012025/03/57/image_27012025_03_57_02_520053_0002.jpg
/home/pi/Desktop/images/27012025/03/57/image_27012025_03_57_02_520053_0003.jpg
/home/pi/Desktop/images/27012025/03/58/image_27012025_03_58_03_037730_0000.jpg
/home/pi/Desktop/images/27012025/03/58/image_27012025_03_58_03_037730_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331866316","1331866348","1331866363","1331866330","1331866324","1331866320"],"photo_ids_order":["1331866316","1331866320","1331866324","1331866330","1331866348","1331866363"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/64698623b160f9d459923b7dabe02cd8.jpg","text":"TemporaryFile(/tmp/multipartBody2755917083438908513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737952883666,"filename":"image_27012025_03_57_02_520053_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/d8c4b1aad7e1c275c477903c309db285.jpg","text":"TemporaryFile(/tmp/multipartBody6273793053500137182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737952883666,"filename":"image_27012025_03_58_03_037730_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/803a8570ceaf6571ae3e938d5da04e19.jpg","text":"TemporaryFile(/tmp/multipartBody4550758895869847712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737952883666,"filename":"image_27012025_03_58_03_037730_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/661df737c0a6a6e634dd58599a1f2d5f.jpg","text":"TemporaryFile(/tmp/multipartBody7072917846194929781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737952883666,"filename":"image_27012025_03_57_02_520053_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/30895eae622a607adef807cb5ea00f42.jpg","text":"TemporaryFile(/tmp/multipartBody5562726978500580228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737952883666,"filename":"image_27012025_03_57_02_520053_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/376d6e0594f3fe32f8f512174536fd48.jpg","text":"TemporaryFile(/tmp/multipartBody3819490494118791800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737952883666,"filename":"image_27012025_03_57_02_520053_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331866324","file1":"1331866320","file0":"1331866316","file4":"1331866348","file5":"1331866363","file3":"1331866330"},"map_files_photo_id_array":[{"photo_id":"1331866363","filename":"file5"},{"photo_id":"1331866324","filename":"file2"},{"photo_id":"1331866348","filename":"file4"},{"photo_id":"1331866320","filename":"file1"},{"photo_id":"1331866316","filename":"file0"},{"photo_id":"1331866330","filename":"file3"}],"portfolio_id":19942284,"hashtag_by_photo_ids":[{"1331866316":["hashtag1","hashtag2"]},{"1331866348":["hashtag1","hashtag2"]},{"1331866363":["hashtag1","hashtag2"]},{"1331866330":["hashtag1","hashtag2"]},{"1331866324":["hashtag1","hashtag2"]},{"1331866320":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942284 used, photo_id : ArrayBuffer(1331866316, 1331866348, 1331866363, 1331866330, 1331866324, 1331866320)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 103.55383133888245 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-27 05:41:22.223359
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/03/58/image_27012025_03_58_03_037730_0002.jpg', '/home/pi/Desktop/images/27012025/03/58/image_27012025_03_58_03_037730_0003.jpg', '/home/pi/Desktop/images/27012025/03/59/image_27012025_03_59_02_624535_0000.jpg', '/home/pi/Desktop/images/27012025/03/59/image_27012025_03_59_02_624535_0001.jpg', '/home/pi/Desktop/images/27012025/03/59/image_27012025_03_59_02_624535_0002.jpg', '/home/pi/Desktop/images/27012025/03/59/image_27012025_03_59_02_624535_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/03/58/image_27012025_03_58_03_037730_0002.jpg
/home/pi/Desktop/images/27012025/03/58/image_27012025_03_58_03_037730_0003.jpg
/home/pi/Desktop/images/27012025/03/59/image_27012025_03_59_02_624535_0000.jpg
/home/pi/Desktop/images/27012025/03/59/image_27012025_03_59_02_624535_0001.jpg
/home/pi/Desktop/images/27012025/03/59/image_27012025_03_59_02_624535_0002.jpg
/home/pi/Desktop/images/27012025/03/59/image_27012025_03_59_02_624535_0003.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331866415","1331866417","1331866411","1331866408","1331866402","1331866413"],"photo_ids_order":["1331866402","1331866408","1331866411","1331866413","1331866415","1331866417"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/d0648264f38b645cdcf5e358e9533fdd.jpg","text":"TemporaryFile(/tmp/multipartBody4999933158790893060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737953000938,"filename":"image_27012025_03_59_02_624535_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/1320e3b60398ea5d3b52b0372874d935.jpg","text":"TemporaryFile(/tmp/multipartBody7677746477275661218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737953000938,"filename":"image_27012025_03_59_02_624535_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/86b4fce93bb3d9cd4f88addab2496fea.jpg","text":"TemporaryFile(/tmp/multipartBody3364778465377155546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737953000938,"filename":"image_27012025_03_59_02_624535_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/432258bef1a16f945cb5046b46c32807.jpg","text":"TemporaryFile(/tmp/multipartBody3524191502627559059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737953000938,"filename":"image_27012025_03_58_03_037730_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/f1b0247025ad5f0de72426b2cd37a672.jpg","text":"TemporaryFile(/tmp/multipartBody2515699918518824371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737953000938,"filename":"image_27012025_03_58_03_037730_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/07d48e358e7ca81e6a8295e6e656287e.jpg","text":"TemporaryFile(/tmp/multipartBody5894650593283354116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737953000938,"filename":"image_27012025_03_59_02_624535_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331866411","file1":"1331866408","file0":"1331866402","file4":"1331866415","file5":"1331866417","file3":"1331866413"},"map_files_photo_id_array":[{"photo_id":"1331866417","filename":"file5"},{"photo_id":"1331866411","filename":"file2"},{"photo_id":"1331866415","filename":"file4"},{"photo_id":"1331866408","filename":"file1"},{"photo_id":"1331866402","filename":"file0"},{"photo_id":"1331866413","filename":"file3"}],"portfolio_id":19942284,"hashtag_by_photo_ids":[{"1331866415":["hashtag1","hashtag2"]},{"1331866417":["hashtag1","hashtag2"]},{"1331866411":["hashtag1","hashtag2"]},{"1331866408":["hashtag1","hashtag2"]},{"1331866402":["hashtag1","hashtag2"]},{"1331866413":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942284 used, photo_id : ArrayBuffer(1331866415, 1331866417, 1331866411, 1331866408, 1331866402, 1331866413)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 98.16321039199829 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 05:43:02.881158
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/00/image_27012025_04_00_02_764795_0000.jpg', '/home/pi/Desktop/images/27012025/04/00/image_27012025_04_00_02_764795_0001.jpg', '/home/pi/Desktop/images/27012025/04/00/image_27012025_04_00_02_764795_0002.jpg', '/home/pi/Desktop/images/27012025/04/00/image_27012025_04_00_02_764795_0003.jpg', '/home/pi/Desktop/images/27012025/04/01/image_27012025_04_01_02_476678_0000.jpg', '/home/pi/Desktop/images/27012025/04/01/image_27012025_04_01_02_476678_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/00/image_27012025_04_00_02_764795_0000.jpg
/home/pi/Desktop/images/27012025/04/00/image_27012025_04_00_02_764795_0001.jpg
/home/pi/Desktop/images/27012025/04/00/image_27012025_04_00_02_764795_0002.jpg
/home/pi/Desktop/images/27012025/04/00/image_27012025_04_00_02_764795_0003.jpg
/home/pi/Desktop/images/27012025/04/01/image_27012025_04_01_02_476678_0000.jpg
/home/pi/Desktop/images/27012025/04/01/image_27012025_04_01_02_476678_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 58.794222593307495 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-27 05:44:21.926729
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/00/image_27012025_04_00_02_764795_0000.jpg', '/home/pi/Desktop/images/27012025/04/00/image_27012025_04_00_02_764795_0001.jpg', '/home/pi/Desktop/images/27012025/04/00/image_27012025_04_00_02_764795_0002.jpg', '/home/pi/Desktop/images/27012025/04/00/image_27012025_04_00_02_764795_0003.jpg', '/home/pi/Desktop/images/27012025/04/01/image_27012025_04_01_02_476678_0000.jpg', '/home/pi/Desktop/images/27012025/04/01/image_27012025_04_01_02_476678_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/00/image_27012025_04_00_02_764795_0000.jpg
/home/pi/Desktop/images/27012025/04/00/image_27012025_04_00_02_764795_0001.jpg
/home/pi/Desktop/images/27012025/04/00/image_27012025_04_00_02_764795_0002.jpg
/home/pi/Desktop/images/27012025/04/00/image_27012025_04_00_02_764795_0003.jpg
/home/pi/Desktop/images/27012025/04/01/image_27012025_04_01_02_476678_0000.jpg
/home/pi/Desktop/images/27012025/04/01/image_27012025_04_01_02_476678_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331867365","1331867311","1331867403","1331867255","1331867363","1331867333"],"photo_ids_order":["1331867255","1331867311","1331867333","1331867363","1331867365","1331867403"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/b9ea26e471cc10eae58da57ea823bae0.jpg","text":"TemporaryFile(/tmp/multipartBody3200271086781423359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737953180919,"filename":"image_27012025_04_01_02_476678_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/8e6da07a320471821cf19c55979c66fd.jpg","text":"TemporaryFile(/tmp/multipartBody5813425124011793209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737953180919,"filename":"image_27012025_04_00_02_764795_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/7d83eea2a7bb4c0e058f537101c933b1.jpg","text":"TemporaryFile(/tmp/multipartBody9029464474853523078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737953180919,"filename":"image_27012025_04_01_02_476678_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/b6573bebdf3bc432e69b6b8a986f02de.jpg","text":"TemporaryFile(/tmp/multipartBody6400415129012423744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737953180919,"filename":"image_27012025_04_00_02_764795_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/b0ae81078fb0c04b3b465ba3b64e0322.jpg","text":"TemporaryFile(/tmp/multipartBody6095515733378987070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737953180919,"filename":"image_27012025_04_00_02_764795_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/63643f3bf3f5145525f233b6b0fcd78d.jpg","text":"TemporaryFile(/tmp/multipartBody8297539282726804780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737953180919,"filename":"image_27012025_04_00_02_764795_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331867333","file1":"1331867311","file0":"1331867255","file4":"1331867365","file5":"1331867403","file3":"1331867363"},"map_files_photo_id_array":[{"photo_id":"1331867403","filename":"file5"},{"photo_id":"1331867333","filename":"file2"},{"photo_id":"1331867365","filename":"file4"},{"photo_id":"1331867311","filename":"file1"},{"photo_id":"1331867255","filename":"file0"},{"photo_id":"1331867363","filename":"file3"}],"portfolio_id":19942284,"hashtag_by_photo_ids":[{"1331867365":["hashtag1","hashtag2"]},{"1331867311":["hashtag1","hashtag2"]},{"1331867403":["hashtag1","hashtag2"]},{"1331867255":["hashtag1","hashtag2"]},{"1331867363":["hashtag1","hashtag2"]},{"1331867333":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942284 used, photo_id : ArrayBuffer(1331867365, 1331867311, 1331867403, 1331867255, 1331867363, 1331867333)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 102.3763518333435 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-27 05:46:22.018231
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/01/image_27012025_04_01_02_476678_0002.jpg', '/home/pi/Desktop/images/27012025/04/01/image_27012025_04_01_02_476678_0003.jpg', '/home/pi/Desktop/images/27012025/04/02/image_27012025_04_02_02_965823_0000.jpg', '/home/pi/Desktop/images/27012025/04/02/image_27012025_04_02_02_965823_0001.jpg', '/home/pi/Desktop/images/27012025/04/02/image_27012025_04_02_02_965823_0002.jpg', '/home/pi/Desktop/images/27012025/04/02/image_27012025_04_02_02_965823_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/01/image_27012025_04_01_02_476678_0002.jpg
/home/pi/Desktop/images/27012025/04/01/image_27012025_04_01_02_476678_0003.jpg
/home/pi/Desktop/images/27012025/04/02/image_27012025_04_02_02_965823_0000.jpg
/home/pi/Desktop/images/27012025/04/02/image_27012025_04_02_02_965823_0001.jpg
/home/pi/Desktop/images/27012025/04/02/image_27012025_04_02_02_965823_0002.jpg
/home/pi/Desktop/images/27012025/04/02/image_27012025_04_02_02_965823_0003.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 59.966336488723755 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 05:48:02.602821
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/01/image_27012025_04_01_02_476678_0002.jpg', '/home/pi/Desktop/images/27012025/04/01/image_27012025_04_01_02_476678_0003.jpg', '/home/pi/Desktop/images/27012025/04/02/image_27012025_04_02_02_965823_0000.jpg', '/home/pi/Desktop/images/27012025/04/02/image_27012025_04_02_02_965823_0001.jpg', '/home/pi/Desktop/images/27012025/04/02/image_27012025_04_02_02_965823_0002.jpg', '/home/pi/Desktop/images/27012025/04/02/image_27012025_04_02_02_965823_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/01/image_27012025_04_01_02_476678_0002.jpg
/home/pi/Desktop/images/27012025/04/01/image_27012025_04_01_02_476678_0003.jpg
/home/pi/Desktop/images/27012025/04/02/image_27012025_04_02_02_965823_0000.jpg
/home/pi/Desktop/images/27012025/04/02/image_27012025_04_02_02_965823_0001.jpg
/home/pi/Desktop/images/27012025/04/02/image_27012025_04_02_02_965823_0002.jpg
/home/pi/Desktop/images/27012025/04/02/image_27012025_04_02_02_965823_0003.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331868322","1331868310","1331868306","1331868314","1331868302","1331868308"],"photo_ids_order":["1331868302","1331868306","1331868308","1331868310","1331868314","1331868322"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/0efbad64b900838c003c73c435b5cdf1.jpg","text":"TemporaryFile(/tmp/multipartBody8638616392408657957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737953402890,"filename":"image_27012025_04_02_02_965823_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/c9487e205b91d11c2fc0da67ab159329.jpg","text":"TemporaryFile(/tmp/multipartBody7352170829714723557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737953402890,"filename":"image_27012025_04_02_02_965823_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/ec3ab022c9cf133c9298a74de6671545.jpg","text":"TemporaryFile(/tmp/multipartBody1299241218947268540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737953402890,"filename":"image_27012025_04_01_02_476678_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/3c3f8d340cdb7b48e4d7d0a81c613a4d.jpg","text":"TemporaryFile(/tmp/multipartBody5676911010398387668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737953402890,"filename":"image_27012025_04_02_02_965823_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/7ca1a20751692cc4a5d7e70c56fb5083.jpg","text":"TemporaryFile(/tmp/multipartBody8294224255426825956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737953402890,"filename":"image_27012025_04_01_02_476678_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/b435854ea1eb90da1acd1a637f97dc58.jpg","text":"TemporaryFile(/tmp/multipartBody8661283999523994729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737953402890,"filename":"image_27012025_04_02_02_965823_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331868308","file1":"1331868306","file0":"1331868302","file4":"1331868314","file5":"1331868322","file3":"1331868310"},"map_files_photo_id_array":[{"photo_id":"1331868322","filename":"file5"},{"photo_id":"1331868308","filename":"file2"},{"photo_id":"1331868314","filename":"file4"},{"photo_id":"1331868306","filename":"file1"},{"photo_id":"1331868302","filename":"file0"},{"photo_id":"1331868310","filename":"file3"}],"portfolio_id":19942284,"hashtag_by_photo_ids":[{"1331868322":["hashtag1","hashtag2"]},{"1331868310":["hashtag1","hashtag2"]},{"1331868306":["hashtag1","hashtag2"]},{"1331868314":["hashtag1","hashtag2"]},{"1331868302":["hashtag1","hashtag2"]},{"1331868308":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942284 used, photo_id : ArrayBuffer(1331868322, 1331868310, 1331868306, 1331868314, 1331868302, 1331868308)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 100.05568504333496 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 05:50:02.584106
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/03/image_27012025_04_03_02_596989_0000.jpg', '/home/pi/Desktop/images/27012025/04/03/image_27012025_04_03_02_596989_0001.jpg', '/home/pi/Desktop/images/27012025/04/03/image_27012025_04_03_02_596989_0002.jpg', '/home/pi/Desktop/images/27012025/04/03/image_27012025_04_03_02_596989_0003.jpg', '/home/pi/Desktop/images/27012025/04/04/image_27012025_04_04_02_195564_0000.jpg', '/home/pi/Desktop/images/27012025/04/04/image_27012025_04_04_02_195564_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/03/image_27012025_04_03_02_596989_0000.jpg
/home/pi/Desktop/images/27012025/04/03/image_27012025_04_03_02_596989_0001.jpg
/home/pi/Desktop/images/27012025/04/03/image_27012025_04_03_02_596989_0002.jpg
/home/pi/Desktop/images/27012025/04/03/image_27012025_04_03_02_596989_0003.jpg
/home/pi/Desktop/images/27012025/04/04/image_27012025_04_04_02_195564_0000.jpg
/home/pi/Desktop/images/27012025/04/04/image_27012025_04_04_02_195564_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331868406","1331868399","1331868403","1331868395","1331868401","1331868407"],"photo_ids_order":["1331868395","1331868399","1331868401","1331868403","1331868406","1331868407"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/b9d24bfb71ac87efd03596d9bff24c58.jpg","text":"TemporaryFile(/tmp/multipartBody3484809883199124815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737953521841,"filename":"image_27012025_04_04_02_195564_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/ef587d23189f44f2e22c6f916393f2ee.jpg","text":"TemporaryFile(/tmp/multipartBody5166895683858707576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737953521841,"filename":"image_27012025_04_03_02_596989_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/42c81d1f09a3e10b9f71b310ec973258.jpg","text":"TemporaryFile(/tmp/multipartBody2986128715104232457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737953521841,"filename":"image_27012025_04_03_02_596989_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/4eb43cde899fc25e71f8f2e8958508ad.jpg","text":"TemporaryFile(/tmp/multipartBody3811614788430383276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737953521841,"filename":"image_27012025_04_03_02_596989_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/c0379c420c9db2223f4a9074118cc7b6.jpg","text":"TemporaryFile(/tmp/multipartBody7393227136290295656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737953521841,"filename":"image_27012025_04_03_02_596989_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/7a6dcb1a822962babc408bfc2fa9d0bd.jpg","text":"TemporaryFile(/tmp/multipartBody5163906378138536725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737953521841,"filename":"image_27012025_04_04_02_195564_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331868401","file1":"1331868399","file0":"1331868395","file4":"1331868406","file5":"1331868407","file3":"1331868403"},"map_files_photo_id_array":[{"photo_id":"1331868407","filename":"file5"},{"photo_id":"1331868401","filename":"file2"},{"photo_id":"1331868406","filename":"file4"},{"photo_id":"1331868399","filename":"file1"},{"photo_id":"1331868395","filename":"file0"},{"photo_id":"1331868403","filename":"file3"}],"portfolio_id":19942284,"hashtag_by_photo_ids":[{"1331868406":["hashtag1","hashtag2"]},{"1331868399":["hashtag1","hashtag2"]},{"1331868403":["hashtag1","hashtag2"]},{"1331868395":["hashtag1","hashtag2"]},{"1331868401":["hashtag1","hashtag2"]},{"1331868407":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942284 used, photo_id : ArrayBuffer(1331868406, 1331868399, 1331868403, 1331868395, 1331868401, 1331868407)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 99.51744818687439 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 05:52:02.669106
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/04/image_27012025_04_04_02_195564_0002.jpg', '/home/pi/Desktop/images/27012025/04/04/image_27012025_04_04_02_195564_0003.jpg', '/home/pi/Desktop/images/27012025/04/05/image_27012025_04_05_02_809723_0000.jpg', '/home/pi/Desktop/images/27012025/04/05/image_27012025_04_05_02_809723_0001.jpg', '/home/pi/Desktop/images/27012025/04/05/image_27012025_04_05_02_809723_0002.jpg', '/home/pi/Desktop/images/27012025/04/05/image_27012025_04_05_02_809723_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/04/image_27012025_04_04_02_195564_0002.jpg
/home/pi/Desktop/images/27012025/04/04/image_27012025_04_04_02_195564_0003.jpg
/home/pi/Desktop/images/27012025/04/05/image_27012025_04_05_02_809723_0000.jpg
/home/pi/Desktop/images/27012025/04/05/image_27012025_04_05_02_809723_0001.jpg
/home/pi/Desktop/images/27012025/04/05/image_27012025_04_05_02_809723_0002.jpg
/home/pi/Desktop/images/27012025/04/05/image_27012025_04_05_02_809723_0003.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331868942","1331868930","1331868920","1331868914","1331868946","1331868925"],"photo_ids_order":["1331868914","1331868920","1331868925","1331868930","1331868942","1331868946"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/7a58d0c51710199e2d21bf42f74cb05e.jpg","text":"TemporaryFile(/tmp/multipartBody1458920530636135954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737953641619,"filename":"image_27012025_04_05_02_809723_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/44862a1cfbe7e3742873f76649f19528.jpg","text":"TemporaryFile(/tmp/multipartBody5678246300228823045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737953641619,"filename":"image_27012025_04_05_02_809723_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/849eabed8b151d7032e0367b72a6dffe.jpg","text":"TemporaryFile(/tmp/multipartBody6521159945393277630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737953641619,"filename":"image_27012025_04_04_02_195564_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/5a7f517fd441db55ed05b1b4fed465ca.jpg","text":"TemporaryFile(/tmp/multipartBody567593953264299272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737953641619,"filename":"image_27012025_04_04_02_195564_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/abfda009062861071ae03565f9155586.jpg","text":"TemporaryFile(/tmp/multipartBody7747587355955793176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737953641619,"filename":"image_27012025_04_05_02_809723_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/2567c8032105a89a749ea6066fda430a.jpg","text":"TemporaryFile(/tmp/multipartBody4140990040395566750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737953641619,"filename":"image_27012025_04_05_02_809723_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331868925","file1":"1331868920","file0":"1331868914","file4":"1331868942","file5":"1331868946","file3":"1331868930"},"map_files_photo_id_array":[{"photo_id":"1331868946","filename":"file5"},{"photo_id":"1331868925","filename":"file2"},{"photo_id":"1331868942","filename":"file4"},{"photo_id":"1331868920","filename":"file1"},{"photo_id":"1331868914","filename":"file0"},{"photo_id":"1331868930","filename":"file3"}],"portfolio_id":19942284,"hashtag_by_photo_ids":[{"1331868942":["hashtag1","hashtag2"]},{"1331868930":["hashtag1","hashtag2"]},{"1331868920":["hashtag1","hashtag2"]},{"1331868914":["hashtag1","hashtag2"]},{"1331868946":["hashtag1","hashtag2"]},{"1331868925":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942284 used, photo_id : ArrayBuffer(1331868942, 1331868930, 1331868920, 1331868914, 1331868946, 1331868925)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 99.22390007972717 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 05:54:02.649512
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/06/image_27012025_04_06_02_354756_0000.jpg', '/home/pi/Desktop/images/27012025/04/06/image_27012025_04_06_02_354756_0001.jpg', '/home/pi/Desktop/images/27012025/04/06/image_27012025_04_06_02_354756_0002.jpg', '/home/pi/Desktop/images/27012025/04/06/image_27012025_04_06_02_354756_0003.jpg', '/home/pi/Desktop/images/27012025/04/07/image_27012025_04_07_03_070159_0000.jpg', '/home/pi/Desktop/images/27012025/04/07/image_27012025_04_07_03_070159_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/06/image_27012025_04_06_02_354756_0000.jpg
/home/pi/Desktop/images/27012025/04/06/image_27012025_04_06_02_354756_0001.jpg
/home/pi/Desktop/images/27012025/04/06/image_27012025_04_06_02_354756_0002.jpg
/home/pi/Desktop/images/27012025/04/06/image_27012025_04_06_02_354756_0003.jpg
/home/pi/Desktop/images/27012025/04/07/image_27012025_04_07_03_070159_0000.jpg
/home/pi/Desktop/images/27012025/04/07/image_27012025_04_07_03_070159_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331868981","1331869005","1331868984","1331868992","1331868986","1331868989"],"photo_ids_order":["1331868981","1331868984","1331868986","1331868989","1331868992","1331869005"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/d4ba494156dd28d7d496ca06d3bdb709.jpg","text":"TemporaryFile(/tmp/multipartBody3781693213098433133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737953762055,"filename":"image_27012025_04_06_02_354756_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/c0475641bc148b56e185677f71871e24.jpg","text":"TemporaryFile(/tmp/multipartBody182273765955876201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737953762055,"filename":"image_27012025_04_07_03_070159_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/9e21f3103fc10eb9610e53f20b5171ae.jpg","text":"TemporaryFile(/tmp/multipartBody2716064962665342533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737953762055,"filename":"image_27012025_04_06_02_354756_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/c3df05d48abc92f429117626b2d93f71.jpg","text":"TemporaryFile(/tmp/multipartBody2823810859660146845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737953762055,"filename":"image_27012025_04_07_03_070159_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/7dacd5d46a89a8f94449e142fbd9a468.jpg","text":"TemporaryFile(/tmp/multipartBody5300273698126253868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737953762055,"filename":"image_27012025_04_06_02_354756_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/bf81971d9381dc57a5da758693a6d0ca.jpg","text":"TemporaryFile(/tmp/multipartBody1399251234804244122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737953762055,"filename":"image_27012025_04_06_02_354756_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331868986","file1":"1331868984","file0":"1331868981","file4":"1331868992","file5":"1331869005","file3":"1331868989"},"map_files_photo_id_array":[{"photo_id":"1331869005","filename":"file5"},{"photo_id":"1331868986","filename":"file2"},{"photo_id":"1331868992","filename":"file4"},{"photo_id":"1331868984","filename":"file1"},{"photo_id":"1331868981","filename":"file0"},{"photo_id":"1331868989","filename":"file3"}],"portfolio_id":19942284,"hashtag_by_photo_ids":[{"1331868981":["hashtag1","hashtag2"]},{"1331869005":["hashtag1","hashtag2"]},{"1331868984":["hashtag1","hashtag2"]},{"1331868992":["hashtag1","hashtag2"]},{"1331868986":["hashtag1","hashtag2"]},{"1331868989":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942284 used, photo_id : ArrayBuffer(1331868981, 1331869005, 1331868984, 1331868992, 1331868986, 1331868989)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 97.79081225395203 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 05:56:02.629516
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/07/image_27012025_04_07_03_070159_0002.jpg', '/home/pi/Desktop/images/27012025/04/07/image_27012025_04_07_03_070159_0003.jpg', '/home/pi/Desktop/images/27012025/04/08/image_27012025_04_08_02_596532_0000.jpg', '/home/pi/Desktop/images/27012025/04/08/image_27012025_04_08_02_596532_0001.jpg', '/home/pi/Desktop/images/27012025/04/08/image_27012025_04_08_02_596532_0002.jpg', '/home/pi/Desktop/images/27012025/04/08/image_27012025_04_08_02_596532_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/07/image_27012025_04_07_03_070159_0002.jpg
/home/pi/Desktop/images/27012025/04/07/image_27012025_04_07_03_070159_0003.jpg
/home/pi/Desktop/images/27012025/04/08/image_27012025_04_08_02_596532_0000.jpg
/home/pi/Desktop/images/27012025/04/08/image_27012025_04_08_02_596532_0001.jpg
/home/pi/Desktop/images/27012025/04/08/image_27012025_04_08_02_596532_0002.jpg
/home/pi/Desktop/images/27012025/04/08/image_27012025_04_08_02_596532_0003.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331869074","1331869058","1331869073","1331869061","1331869066","1331869071"],"photo_ids_order":["1331869058","1331869061","1331869066","1331869071","1331869073","1331869074"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/bf214dc691c51a979c56a064dbfbea51.jpg","text":"TemporaryFile(/tmp/multipartBody293302068293885402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737953881664,"filename":"image_27012025_04_08_02_596532_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/d71d02ba4203e1b29677b5ee1ee88927.jpg","text":"TemporaryFile(/tmp/multipartBody191855967716767251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737953881664,"filename":"image_27012025_04_07_03_070159_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/76acb5da7cf8ba27fa3861158e243c36.jpg","text":"TemporaryFile(/tmp/multipartBody8589391479580122210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737953881664,"filename":"image_27012025_04_08_02_596532_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/927f727c268edf7cf37ab748ab4cad5b.jpg","text":"TemporaryFile(/tmp/multipartBody4001499487333477667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737953881664,"filename":"image_27012025_04_07_03_070159_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/f683ee7d325cf2b18679c9c63cd0c59e.jpg","text":"TemporaryFile(/tmp/multipartBody2093714061094476323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737953881664,"filename":"image_27012025_04_08_02_596532_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/0d468aa3e644000b87b4d55fb695cabf.jpg","text":"TemporaryFile(/tmp/multipartBody6334700571113832039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737953881664,"filename":"image_27012025_04_08_02_596532_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331869066","file1":"1331869061","file0":"1331869058","file4":"1331869073","file5":"1331869074","file3":"1331869071"},"map_files_photo_id_array":[{"photo_id":"1331869074","filename":"file5"},{"photo_id":"1331869066","filename":"file2"},{"photo_id":"1331869073","filename":"file4"},{"photo_id":"1331869061","filename":"file1"},{"photo_id":"1331869058","filename":"file0"},{"photo_id":"1331869071","filename":"file3"}],"portfolio_id":19942284,"hashtag_by_photo_ids":[{"1331869074":["hashtag1","hashtag2"]},{"1331869058":["hashtag1","hashtag2"]},{"1331869073":["hashtag1","hashtag2"]},{"1331869061":["hashtag1","hashtag2"]},{"1331869066":["hashtag1","hashtag2"]},{"1331869071":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942284 used, photo_id : ArrayBuffer(1331869074, 1331869058, 1331869073, 1331869061, 1331869066, 1331869071)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 100.54281258583069 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 05:59:02.999257
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/09/image_27012025_04_09_03_155689_0000.jpg', '/home/pi/Desktop/images/27012025/04/09/image_27012025_04_09_03_155689_0001.jpg', '/home/pi/Desktop/images/27012025/04/09/image_27012025_04_09_03_155689_0002.jpg', '/home/pi/Desktop/images/27012025/04/09/image_27012025_04_09_03_155689_0003.jpg', '/home/pi/Desktop/images/27012025/04/10/image_27012025_04_10_02_619908_0000.jpg', '/home/pi/Desktop/images/27012025/04/10/image_27012025_04_10_02_619908_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/09/image_27012025_04_09_03_155689_0000.jpg
/home/pi/Desktop/images/27012025/04/09/image_27012025_04_09_03_155689_0001.jpg
/home/pi/Desktop/images/27012025/04/09/image_27012025_04_09_03_155689_0002.jpg
/home/pi/Desktop/images/27012025/04/09/image_27012025_04_09_03_155689_0003.jpg
/home/pi/Desktop/images/27012025/04/10/image_27012025_04_10_02_619908_0000.jpg
/home/pi/Desktop/images/27012025/04/10/image_27012025_04_10_02_619908_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331869152","1331869163","1331869166","1331869160","1331869156","1331869171"],"photo_ids_order":["1331869152","1331869156","1331869160","1331869163","1331869166","1331869171"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/faaad62eaa3cfa6065fffcc3245a9686.jpg","text":"TemporaryFile(/tmp/multipartBody5042167020904219426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737954058877,"filename":"image_27012025_04_09_03_155689_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/70723430dc9d43a23b4c12c91335b77a.jpg","text":"TemporaryFile(/tmp/multipartBody3344852179363787952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737954058877,"filename":"image_27012025_04_09_03_155689_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/f90de29ea617c5d2c931d6927afb580e.jpg","text":"TemporaryFile(/tmp/multipartBody4680666480327358164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737954058877,"filename":"image_27012025_04_10_02_619908_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/eda7a1cf6679bd42b67f19b91debb088.jpg","text":"TemporaryFile(/tmp/multipartBody7067154923051868572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737954058877,"filename":"image_27012025_04_09_03_155689_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/5856b4c7ef83b7cd71824aaf84ceefbc.jpg","text":"TemporaryFile(/tmp/multipartBody7053931774781331663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737954058877,"filename":"image_27012025_04_09_03_155689_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/417694c2d83a093d889294c6a7a418fb.jpg","text":"TemporaryFile(/tmp/multipartBody1503604872728784087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737954058877,"filename":"image_27012025_04_10_02_619908_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331869160","file1":"1331869156","file0":"1331869152","file4":"1331869166","file5":"1331869171","file3":"1331869163"},"map_files_photo_id_array":[{"photo_id":"1331869171","filename":"file5"},{"photo_id":"1331869160","filename":"file2"},{"photo_id":"1331869166","filename":"file4"},{"photo_id":"1331869156","filename":"file1"},{"photo_id":"1331869152","filename":"file0"},{"photo_id":"1331869163","filename":"file3"}],"portfolio_id":19942284,"hashtag_by_photo_ids":[{"1331869152":["hashtag1","hashtag2"]},{"1331869163":["hashtag1","hashtag2"]},{"1331869166":["hashtag1","hashtag2"]},{"1331869160":["hashtag1","hashtag2"]},{"1331869156":["hashtag1","hashtag2"]},{"1331869171":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942284 used, photo_id : ArrayBuffer(1331869152, 1331869163, 1331869166, 1331869160, 1331869156, 1331869171)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 95.25570631027222 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 06:01:03.041989
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/10/image_27012025_04_10_02_619908_0002.jpg', '/home/pi/Desktop/images/27012025/04/10/image_27012025_04_10_02_619908_0003.jpg', '/home/pi/Desktop/images/27012025/04/11/image_27012025_04_11_02_122477_0000.jpg', '/home/pi/Desktop/images/27012025/04/11/image_27012025_04_11_02_122477_0001.jpg', '/home/pi/Desktop/images/27012025/04/11/image_27012025_04_11_02_122477_0002.jpg', '/home/pi/Desktop/images/27012025/04/11/image_27012025_04_11_02_122477_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/10/image_27012025_04_10_02_619908_0002.jpg
/home/pi/Desktop/images/27012025/04/10/image_27012025_04_10_02_619908_0003.jpg
/home/pi/Desktop/images/27012025/04/11/image_27012025_04_11_02_122477_0000.jpg
/home/pi/Desktop/images/27012025/04/11/image_27012025_04_11_02_122477_0001.jpg
/home/pi/Desktop/images/27012025/04/11/image_27012025_04_11_02_122477_0002.jpg
/home/pi/Desktop/images/27012025/04/11/image_27012025_04_11_02_122477_0003.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331869242","1331869521","1331869305","1331869505","1331869229","1331869405"],"photo_ids_order":["1331869229","1331869242","1331869305","1331869405","1331869505","1331869521"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/917ae2a951f7641f174fa2f287daae5d.jpg","text":"TemporaryFile(/tmp/multipartBody690765306451585909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737954180874,"filename":"image_27012025_04_10_02_619908_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/5d09c840db1e776033bf51297e407f4d.jpg","text":"TemporaryFile(/tmp/multipartBody5220558876684109393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737954180874,"filename":"image_27012025_04_11_02_122477_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/8867483cc858db2ac379e5f8b2870bf4.jpg","text":"TemporaryFile(/tmp/multipartBody3297574138435694607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737954180874,"filename":"image_27012025_04_11_02_122477_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/ba9ffc99ed8819e943cb916fcdfa952c.jpg","text":"TemporaryFile(/tmp/multipartBody1914420974806925124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737954180874,"filename":"image_27012025_04_11_02_122477_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/84323cc014b54b72fd2bcade3cc93ebe.jpg","text":"TemporaryFile(/tmp/multipartBody8682904053997765672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737954180874,"filename":"image_27012025_04_10_02_619908_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/374b40ec8df0355b285932cde424fdb1.jpg","text":"TemporaryFile(/tmp/multipartBody8184569514429041075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737954180874,"filename":"image_27012025_04_11_02_122477_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331869305","file1":"1331869242","file0":"1331869229","file4":"1331869505","file5":"1331869521","file3":"1331869405"},"map_files_photo_id_array":[{"photo_id":"1331869521","filename":"file5"},{"photo_id":"1331869305","filename":"file2"},{"photo_id":"1331869505","filename":"file4"},{"photo_id":"1331869242","filename":"file1"},{"photo_id":"1331869229","filename":"file0"},{"photo_id":"1331869405","filename":"file3"}],"portfolio_id":19942284,"hashtag_by_photo_ids":[{"1331869242":["hashtag1","hashtag2"]},{"1331869521":["hashtag1","hashtag2"]},{"1331869305":["hashtag1","hashtag2"]},{"1331869505":["hashtag1","hashtag2"]},{"1331869229":["hashtag1","hashtag2"]},{"1331869405":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942284 used, photo_id : ArrayBuffer(1331869242, 1331869521, 1331869305, 1331869505, 1331869229, 1331869405)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 98.7431640625 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 06:03:02.385843
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/12/image_27012025_04_12_02_687461_0000.jpg', '/home/pi/Desktop/images/27012025/04/12/image_27012025_04_12_02_687461_0001.jpg', '/home/pi/Desktop/images/27012025/04/12/image_27012025_04_12_02_687461_0002.jpg', '/home/pi/Desktop/images/27012025/04/12/image_27012025_04_12_02_687461_0003.jpg', '/home/pi/Desktop/images/27012025/04/13/image_27012025_04_13_02_294877_0000.jpg', '/home/pi/Desktop/images/27012025/04/13/image_27012025_04_13_02_294877_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/12/image_27012025_04_12_02_687461_0000.jpg
/home/pi/Desktop/images/27012025/04/12/image_27012025_04_12_02_687461_0001.jpg
/home/pi/Desktop/images/27012025/04/12/image_27012025_04_12_02_687461_0002.jpg
/home/pi/Desktop/images/27012025/04/12/image_27012025_04_12_02_687461_0003.jpg
/home/pi/Desktop/images/27012025/04/13/image_27012025_04_13_02_294877_0000.jpg
/home/pi/Desktop/images/27012025/04/13/image_27012025_04_13_02_294877_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331870305","1331870313","1331870307","1331870318","1331870312","1331870314"],"photo_ids_order":["1331870305","1331870307","1331870312","1331870313","1331870314","1331870318"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/fd17837ab79ba146564e5216cb0a5434.jpg","text":"TemporaryFile(/tmp/multipartBody1368350052821601409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737954299379,"filename":"image_27012025_04_12_02_687461_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/8b1719a7c267e2933414d86bd6cadd5e.jpg","text":"TemporaryFile(/tmp/multipartBody1485302487850802023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737954299379,"filename":"image_27012025_04_12_02_687461_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/ecc245fbd91ee1a74c790a843affde0a.jpg","text":"TemporaryFile(/tmp/multipartBody5000896699183911135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737954299379,"filename":"image_27012025_04_12_02_687461_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/ceee17dc4c6a72d49283e4f20580d973.jpg","text":"TemporaryFile(/tmp/multipartBody3526988328969361020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737954299379,"filename":"image_27012025_04_13_02_294877_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/1a34c9017d77244488b0b990dd354298.jpg","text":"TemporaryFile(/tmp/multipartBody6740375772098350984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737954299379,"filename":"image_27012025_04_12_02_687461_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/6f6bfec654f10539f1efc0782bfa4b9f.jpg","text":"TemporaryFile(/tmp/multipartBody8264141003016744657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737954299379,"filename":"image_27012025_04_13_02_294877_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331870312","file1":"1331870307","file0":"1331870305","file4":"1331870314","file5":"1331870318","file3":"1331870313"},"map_files_photo_id_array":[{"photo_id":"1331870318","filename":"file5"},{"photo_id":"1331870312","filename":"file2"},{"photo_id":"1331870314","filename":"file4"},{"photo_id":"1331870307","filename":"file1"},{"photo_id":"1331870305","filename":"file0"},{"photo_id":"1331870313","filename":"file3"}],"portfolio_id":19942284,"hashtag_by_photo_ids":[{"1331870305":["hashtag1","hashtag2"]},{"1331870313":["hashtag1","hashtag2"]},{"1331870307":["hashtag1","hashtag2"]},{"1331870318":["hashtag1","hashtag2"]},{"1331870312":["hashtag1","hashtag2"]},{"1331870314":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942284 used, photo_id : ArrayBuffer(1331870305, 1331870313, 1331870307, 1331870318, 1331870312, 1331870314)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 96.77788352966309 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 06:05:02.457863
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/13/image_27012025_04_13_02_294877_0002.jpg', '/home/pi/Desktop/images/27012025/04/13/image_27012025_04_13_02_294877_0003.jpg', '/home/pi/Desktop/images/27012025/04/14/image_27012025_04_14_02_796810_0000.jpg', '/home/pi/Desktop/images/27012025/04/14/image_27012025_04_14_02_796810_0001.jpg', '/home/pi/Desktop/images/27012025/04/14/image_27012025_04_14_02_796810_0002.jpg', '/home/pi/Desktop/images/27012025/04/14/image_27012025_04_14_02_796810_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/13/image_27012025_04_13_02_294877_0002.jpg
/home/pi/Desktop/images/27012025/04/13/image_27012025_04_13_02_294877_0003.jpg
/home/pi/Desktop/images/27012025/04/14/image_27012025_04_14_02_796810_0000.jpg
/home/pi/Desktop/images/27012025/04/14/image_27012025_04_14_02_796810_0001.jpg
/home/pi/Desktop/images/27012025/04/14/image_27012025_04_14_02_796810_0002.jpg
/home/pi/Desktop/images/27012025/04/14/image_27012025_04_14_02_796810_0003.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331870556","1331870541","1331870559","1331870610","1331870607","1331870612"],"photo_ids_order":["1331870541","1331870556","1331870559","1331870607","1331870610","1331870612"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/b98483c2d5a837518513c126207dd077.jpg","text":"TemporaryFile(/tmp/multipartBody1914304264307297266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737954420904,"filename":"image_27012025_04_13_02_294877_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/fb24c414ab2ee2512d4b556aa50be184.jpg","text":"TemporaryFile(/tmp/multipartBody3875360535951488557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737954420904,"filename":"image_27012025_04_13_02_294877_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/415cc88a4ab7c025c305aff2d65c6774.jpg","text":"TemporaryFile(/tmp/multipartBody6931898269064852768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737954420904,"filename":"image_27012025_04_14_02_796810_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/2a1cf5b499161607856f86d359ffb0f3.jpg","text":"TemporaryFile(/tmp/multipartBody5108471089273018040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737954420904,"filename":"image_27012025_04_14_02_796810_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/e45b3edec70eff8ff8f2893fbafa192b.jpg","text":"TemporaryFile(/tmp/multipartBody9086310873918093291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737954420904,"filename":"image_27012025_04_14_02_796810_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/8c7801027fa3c829c4c1dfb2cf19acef.jpg","text":"TemporaryFile(/tmp/multipartBody2451947533313400266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737954420904,"filename":"image_27012025_04_14_02_796810_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331870559","file1":"1331870556","file0":"1331870541","file4":"1331870610","file5":"1331870612","file3":"1331870607"},"map_files_photo_id_array":[{"photo_id":"1331870612","filename":"file5"},{"photo_id":"1331870559","filename":"file2"},{"photo_id":"1331870610","filename":"file4"},{"photo_id":"1331870556","filename":"file1"},{"photo_id":"1331870541","filename":"file0"},{"photo_id":"1331870607","filename":"file3"}],"portfolio_id":19942284,"hashtag_by_photo_ids":[{"1331870556":["hashtag1","hashtag2"]},{"1331870541":["hashtag1","hashtag2"]},{"1331870559":["hashtag1","hashtag2"]},{"1331870610":["hashtag1","hashtag2"]},{"1331870607":["hashtag1","hashtag2"]},{"1331870612":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942284 used, photo_id : ArrayBuffer(1331870556, 1331870541, 1331870559, 1331870610, 1331870607, 1331870612)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 98.75258111953735 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 06:07:02.765893
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/15/image_27012025_04_15_02_345548_0000.jpg', '/home/pi/Desktop/images/27012025/04/15/image_27012025_04_15_02_345548_0001.jpg', '/home/pi/Desktop/images/27012025/04/15/image_27012025_04_15_02_345548_0002.jpg', '/home/pi/Desktop/images/27012025/04/15/image_27012025_04_15_02_345548_0003.jpg', '/home/pi/Desktop/images/27012025/04/16/image_27012025_04_16_02_876723_0000.jpg', '/home/pi/Desktop/images/27012025/04/16/image_27012025_04_16_02_876723_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/15/image_27012025_04_15_02_345548_0000.jpg
/home/pi/Desktop/images/27012025/04/15/image_27012025_04_15_02_345548_0001.jpg
/home/pi/Desktop/images/27012025/04/15/image_27012025_04_15_02_345548_0002.jpg
/home/pi/Desktop/images/27012025/04/15/image_27012025_04_15_02_345548_0003.jpg
/home/pi/Desktop/images/27012025/04/16/image_27012025_04_16_02_876723_0000.jpg
/home/pi/Desktop/images/27012025/04/16/image_27012025_04_16_02_876723_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 58.13314700126648 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 06:08:03.213763
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/15/image_27012025_04_15_02_345548_0000.jpg', '/home/pi/Desktop/images/27012025/04/15/image_27012025_04_15_02_345548_0001.jpg', '/home/pi/Desktop/images/27012025/04/15/image_27012025_04_15_02_345548_0002.jpg', '/home/pi/Desktop/images/27012025/04/15/image_27012025_04_15_02_345548_0003.jpg', '/home/pi/Desktop/images/27012025/04/16/image_27012025_04_16_02_876723_0000.jpg', '/home/pi/Desktop/images/27012025/04/16/image_27012025_04_16_02_876723_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/15/image_27012025_04_15_02_345548_0000.jpg
/home/pi/Desktop/images/27012025/04/15/image_27012025_04_15_02_345548_0001.jpg
/home/pi/Desktop/images/27012025/04/15/image_27012025_04_15_02_345548_0002.jpg
/home/pi/Desktop/images/27012025/04/15/image_27012025_04_15_02_345548_0003.jpg
/home/pi/Desktop/images/27012025/04/16/image_27012025_04_16_02_876723_0000.jpg
/home/pi/Desktop/images/27012025/04/16/image_27012025_04_16_02_876723_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331870728","1331870733","1331870736","1331870730","1331870724","1331870720"],"photo_ids_order":["1331870720","1331870724","1331870728","1331870730","1331870733","1331870736"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/837d5e4bfe3ee007dd8cb7c14e884e75.jpg","text":"TemporaryFile(/tmp/multipartBody7608890288543304937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737954601534,"filename":"image_27012025_04_15_02_345548_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/3e5e57a939cf867bff54ae7d3ee84dab.jpg","text":"TemporaryFile(/tmp/multipartBody7370748612625446811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737954601534,"filename":"image_27012025_04_16_02_876723_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/9c420b282c6abde7e369e65d562ce229.jpg","text":"TemporaryFile(/tmp/multipartBody8085139193860464776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737954601534,"filename":"image_27012025_04_16_02_876723_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/c883c516266720c575827f34fecc02ef.jpg","text":"TemporaryFile(/tmp/multipartBody7935855206690579552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737954601534,"filename":"image_27012025_04_15_02_345548_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/8f981119cab2f062fae68d8e371e8962.jpg","text":"TemporaryFile(/tmp/multipartBody1202023655099025744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737954601534,"filename":"image_27012025_04_15_02_345548_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/0d6eb868c23b8b6f7ac00bd8ffbc6e96.jpg","text":"TemporaryFile(/tmp/multipartBody4843971808188891269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737954601534,"filename":"image_27012025_04_15_02_345548_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331870728","file1":"1331870724","file0":"1331870720","file4":"1331870733","file5":"1331870736","file3":"1331870730"},"map_files_photo_id_array":[{"photo_id":"1331870736","filename":"file5"},{"photo_id":"1331870728","filename":"file2"},{"photo_id":"1331870733","filename":"file4"},{"photo_id":"1331870724","filename":"file1"},{"photo_id":"1331870720","filename":"file0"},{"photo_id":"1331870730","filename":"file3"}],"portfolio_id":19942284,"hashtag_by_photo_ids":[{"1331870728":["hashtag1","hashtag2"]},{"1331870733":["hashtag1","hashtag2"]},{"1331870736":["hashtag1","hashtag2"]},{"1331870730":["hashtag1","hashtag2"]},{"1331870724":["hashtag1","hashtag2"]},{"1331870720":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942284 used, photo_id : ArrayBuffer(1331870728, 1331870733, 1331870736, 1331870730, 1331870724, 1331870720)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 97.11978459358215 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 06:10:02.397349
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/16/image_27012025_04_16_02_876723_0002.jpg', '/home/pi/Desktop/images/27012025/04/16/image_27012025_04_16_02_876723_0003.jpg', '/home/pi/Desktop/images/27012025/04/17/image_27012025_04_17_02_420826_0000.jpg', '/home/pi/Desktop/images/27012025/04/17/image_27012025_04_17_02_420826_0001.jpg', '/home/pi/Desktop/images/27012025/04/17/image_27012025_04_17_02_420826_0002.jpg', '/home/pi/Desktop/images/27012025/04/17/image_27012025_04_17_02_420826_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/16/image_27012025_04_16_02_876723_0002.jpg
/home/pi/Desktop/images/27012025/04/16/image_27012025_04_16_02_876723_0003.jpg
/home/pi/Desktop/images/27012025/04/17/image_27012025_04_17_02_420826_0000.jpg
/home/pi/Desktop/images/27012025/04/17/image_27012025_04_17_02_420826_0001.jpg
/home/pi/Desktop/images/27012025/04/17/image_27012025_04_17_02_420826_0002.jpg
/home/pi/Desktop/images/27012025/04/17/image_27012025_04_17_02_420826_0003.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331871066","1331871300","1331871491","1331870855","1331870945","1331871619"],"photo_ids_order":["1331870855","1331870945","1331871066","1331871300","1331871491","1331871619"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/8d218fcc7d550a25e0a71ce76fa8facb.jpg","text":"TemporaryFile(/tmp/multipartBody7828693015035706132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737954721797,"filename":"image_27012025_04_17_02_420826_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/b635b87379e2adb6ddf47216e4a59055.jpg","text":"TemporaryFile(/tmp/multipartBody4360780671139107858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737954721797,"filename":"image_27012025_04_17_02_420826_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/9dca1fe0270d085388c828be0cb1daf3.jpg","text":"TemporaryFile(/tmp/multipartBody1510852817723435422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737954721797,"filename":"image_27012025_04_17_02_420826_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/06263025aace63a3be190559262756f5.jpg","text":"TemporaryFile(/tmp/multipartBody6207516724346264155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737954721797,"filename":"image_27012025_04_16_02_876723_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/9745064d3dd444dc68621f1d3143501e.jpg","text":"TemporaryFile(/tmp/multipartBody1908130084196633548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737954721797,"filename":"image_27012025_04_16_02_876723_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/27/49fc947d872cbfd9f88ae4d4c7e0a147.jpg","text":"TemporaryFile(/tmp/multipartBody8769805072622975215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737954721797,"filename":"image_27012025_04_17_02_420826_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331871066","file1":"1331870945","file0":"1331870855","file4":"1331871491","file5":"1331871619","file3":"1331871300"},"map_files_photo_id_array":[{"photo_id":"1331871619","filename":"file5"},{"photo_id":"1331871066","filename":"file2"},{"photo_id":"1331871491","filename":"file4"},{"photo_id":"1331870945","filename":"file1"},{"photo_id":"1331870855","filename":"file0"},{"photo_id":"1331871300","filename":"file3"}],"portfolio_id":19942284,"hashtag_by_photo_ids":[{"1331871066":["hashtag1","hashtag2"]},{"1331871300":["hashtag1","hashtag2"]},{"1331871491":["hashtag1","hashtag2"]},{"1331870855":["hashtag1","hashtag2"]},{"1331870945":["hashtag1","hashtag2"]},{"1331871619":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942284 used, photo_id : ArrayBuffer(1331871066, 1331871300, 1331871491, 1331870855, 1331870945, 1331871619)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 103.61411929130554 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 06:12:02.401014
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 06:59:02.631040
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5566a10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.248072147369385 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 07:00:03.136137
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54b7a90>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.22412610054016 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 07:01:02.742241
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54dd990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.23627996444702 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 07:02:02.324715
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54e2990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.23029398918152 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 07:03:02.981899
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54b2a10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.255428075790405 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 07:04:02.652998
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54c3910>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.21537160873413 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 07:05:02.416032
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5505a10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.24675941467285 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 07:06:02.824833
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5504950>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.23669719696045 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 07:07:02.668787
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54bd990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.22412133216858 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 07:08:02.991469
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55599d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.242345809936523 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 07:09:02.832716
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54bd990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.215822219848633 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 07:10:02.425893
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb61e8750>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19772434234619 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 07:11:03.062985
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f69d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.23025894165039 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 07:12:02.285879
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5529990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.220919847488403 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 07:13:02.944637
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54cb930>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.273130655288696 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 07:14:02.580928
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54c4950>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.209017753601074 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 07:15:03.239789
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5553970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.23809504508972 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 07:16:02.756283
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5578950>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.235968589782715 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 07:17:02.387195
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb551b950>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.23373508453369 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 07:18:03.019388
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5589990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.226853132247925 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 07:19:02.620025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ca930>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.23715829849243 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 07:20:03.052178
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5577990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.23078989982605 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 07:21:02.843912
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5572970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.21846079826355 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 07:22:02.333857
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb556e970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.201169967651367 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 07:23:02.977405
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb551a9d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.243398666381836 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 07:24:02.441608
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5497990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.23723816871643 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 07:25:03.305007
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb551d9d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.224553108215332 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 07:26:02.704901
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54fe970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.214247465133667 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 07:27:02.409532
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb550f9f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.219990491867065 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 07:28:02.995441
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5504970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.248281240463257 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 07:29:02.768173
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ef950>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.246301651000977 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 07:30:02.111571
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5497950>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.243684768676758 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 07:31:02.945229
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55109d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.22790765762329 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 07:32:02.502725
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54a89d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.199708938598633 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 07:33:03.087352
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5585990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.249863862991333 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 07:34:02.627486
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5555910>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.23453187942505 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 07:35:02.316198
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5517950>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.25281047821045 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 07:36:02.707284
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f1a30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.221362352371216 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 07:37:02.412415
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54c6950>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.23483395576477 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 07:38:03.049850
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb553f970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.232940912246704 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 07:39:02.727082
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb553f990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.241515159606934 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 07:40:02.253676
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54a8930>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.225022554397583 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 07:41:02.902117
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ffa10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.32348132133484 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 07:42:02.498764
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5537950>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.206243753433228 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 07:43:03.267236
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb556a970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.225754022598267 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 07:44:02.585941
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54eb990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.22945475578308 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 07:45:03.191907
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54929f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.246644020080566 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 07:46:02.801910
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb558e9f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.209466695785522 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 07:47:02.410842
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5528990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.260672569274902 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 07:48:03.030310
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb556e990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.229668855667114 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 07:49:02.786152
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb553f950>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.206997632980347 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 07:50:03.114103
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54e7990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.229520320892334 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 07:51:02.727565
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55619b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.247777223587036 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 07:52:02.361659
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55119b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.202107906341553 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 07:53:02.903601
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54b29d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.274890184402466 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 07:54:02.356604
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5511910>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.212014198303223 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 07:55:03.124429
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54a3930>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.248992443084717 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 07:56:02.574265
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5528910>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.219380855560303 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 07:57:03.314768
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54a5930>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.253646850585938 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 07:59:03.261596
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 626, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/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 refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-27 07:59:22.586621
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54cda30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.190961360931396 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 08:00:02.730355
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb552b8d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.199880838394165 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 08:01:03.409597
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5494970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.213825225830078 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 08:02:02.780013
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5491930>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.214014530181885 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 08:03:02.386487
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5552a30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.230933904647827 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 08:04:02.733714
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5584a50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.21527624130249 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 08:05:02.368143
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54b1950>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.23083209991455 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 08:06:03.054501
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb549ea50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.228564023971558 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 08:07:02.848796
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb549a970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.216695547103882 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 08:08:02.068558
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5541970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.210559606552124 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 08:09:02.818846
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55149b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.24998164176941 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 08:10:02.492433
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5523a30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.198869466781616 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 08:11:03.163504
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55409d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.211923599243164 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 08:12:02.419464
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb552e970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.22238802909851 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 08:13:03.283464
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5567990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.1997389793396 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 08:14:02.571462
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f39b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.234807014465332 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 08:15:03.355396
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ce930>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.21928358078003 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 08:16:02.891020
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ae990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.22473168373108 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 08:17:02.481417
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb552c9d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.244888305664062 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 08:18:03.038010
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55139d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.1971275806427 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 08:19:02.724121
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55369f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.236701250076294 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 08:20:03.168281
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5583a30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.209274768829346 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 08:21:02.902801
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb552e9d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.2434823513031 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 08:22:02.371739
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f89b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.22777032852173 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 08:23:03.060690
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54cc9d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.218642950057983 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 08:24:02.817808
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54fea10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.195074558258057 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 08:25:02.514774
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55219b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.2285418510437 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 08:26:02.829171
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5547990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.234694242477417 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 08:27:02.581799
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55039d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.22461724281311 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 08:28:03.123748
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5571990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19536066055298 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 08:29:02.768464
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ba9f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.242052793502808 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 08:30:02.296256
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb554a9f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.202319383621216 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 08:31:03.000050
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5558a50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.21209740638733 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 08:32:02.255609
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54b3950>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.233531951904297 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 08:33:02.912552
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55089b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.22175431251526 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 08:34:02.337064
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54b7990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.23930835723877 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 08:35:03.105436
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55629b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.204050302505493 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 08:36:02.406243
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ba970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.22367763519287 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 08:37:03.187754
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5519970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.244288682937622 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 08:38:02.720249
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d19f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.20673131942749 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 08:39:02.448838
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5547970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.20981240272522 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 08:40:02.872788
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb549a9d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.23355221748352 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 08:41:02.639370
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5570990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.210092067718506 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 08:42:03.036168
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54e99d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.23196053504944 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 08:43:02.659599
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54b1a10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.247021198272705 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 08:44:03.069542
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54e5970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.231373071670532 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 08:45:02.682506
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d09f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.244468927383423 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 08:46:02.287361
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5560970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.222543954849243 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 08:47:02.877302
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5f433f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.233115196228027 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 08:48:02.785341
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54fc910>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.2098228931427 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 08:49:02.585448
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb549c970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.208460330963135 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 08:50:02.871356
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5587950>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.231428623199463 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 08:51:02.921440
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5503990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.196240186691284 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 08:52:03.109766
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d0990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.209133863449097 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 08:53:02.680874
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5579ab0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.229755401611328 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 08:54:02.170634
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55309f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.22591257095337 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 08:55:03.026935
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ce950>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.206388235092163 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 08:56:02.405615
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55289f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.20329260826111 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 08:57:02.626383
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb553b970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.25309109687805 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 08:59:02.482730
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55679d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.236882209777832 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 09:00:02.523618
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5514990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.2055606842041 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 09:01:03.232796
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d49d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.2971510887146 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 09:02:02.527211
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54dc970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.228856563568115 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 09:03:03.371730
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5544990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.245503664016724 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 09:04:02.825707
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5494970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.26692485809326 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 09:05:02.438276
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5535950>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.2396297454834 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 09:06:03.004387
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5538990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.229514598846436 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 09:07:02.634462
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54b0990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.21841049194336 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 09:08:03.149310
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5511970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.231862545013428 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 09:09:02.976041
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55839b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.207478284835815 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 09:10:02.254500
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5564970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.268471240997314 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 09:11:03.034536
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5520990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.213969945907593 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 09:12:02.460130
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5547ab0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.28939414024353 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 09:13:03.145968
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb549f950>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.22385263442993 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 09:14:02.721363
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5531a70>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.224519729614258 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 09:15:02.571450
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5507a10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.20527172088623 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 09:16:02.808691
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f8970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.209197998046875 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 09:17:02.608961
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5546950>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.227063179016113 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 09:18:03.059126
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55068f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19928550720215 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 09:19:02.690503
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f8970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.24318766593933 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 09:20:02.263893
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5554a10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19827651977539 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 09:21:02.868830
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb549f8f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.224580764770508 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 09:22:02.350448
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54a5a10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.223594665527344 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 09:23:02.999915
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb556c990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.24614644050598 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 09:24:02.618253
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5532950>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.195730686187744 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 09:25:03.292978
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb557d990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.223028659820557 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 09:26:02.596051
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb554ca30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.218703985214233 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 09:27:02.560296
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f39b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.20904040336609 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 09:28:02.845582
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5555910>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.223166942596436 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 09:29:02.790650
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb6491f50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.208348751068115 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 09:30:03.027944
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb550ba50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.221144914627075 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 09:31:02.847794
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb552d910>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.21350598335266 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 09:32:02.244308
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb550a950>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.20352554321289 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 09:33:02.896066
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55859b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.247499227523804 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 09:34:02.633698
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54a0a50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.194976329803467 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 09:35:03.480017
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5492950>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19337773323059 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 09:36:02.835035
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5521990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.20882773399353 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 09:37:02.615675
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ee990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.22782063484192 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 09:38:02.920600
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ac9b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.213165998458862 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 09:39:02.869380
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54baa30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.20159411430359 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 09:40:03.113906
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54bf9b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.22459125518799 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 09:41:02.711425
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54e49f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.227469444274902 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 09:42:02.476854
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54b3990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.197606325149536 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 09:43:03.228293
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5557950>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.213245153427124 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 09:44:02.494034
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54a19b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.211995124816895 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 09:45:02.417883
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54a0950>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.24578285217285 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 09:46:02.847546
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54e8910>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.294631719589233 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 09:47:02.453053
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb554d950>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.25346040725708 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 09:48:03.019458
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54b3970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.211427450180054 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 09:49:02.542149
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb553f9d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.233418703079224 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 09:50:02.246781
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54fa930>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.20175576210022 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 09:51:02.751401
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5588a30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.247758626937866 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 09:52:02.418673
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5566970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.203070163726807 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 09:53:03.058782
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f89b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.213223934173584 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 09:54:02.469698
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54a6910>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.22058868408203 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 09:55:03.234309
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d79d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.24740195274353 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 09:56:02.698770
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54dba10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.214579105377197 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 09:57:02.306169
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ed910>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.245075464248657 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 09:59:03.130764
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54df970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.232550144195557 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 09:59:32.581331
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb555b9d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191200733184814 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 10:00:03.255121
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55899f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.198092937469482 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 10:00:32.707585
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f3970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.193310737609863 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 10:01:02.508485
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ee9d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.240463972091675 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 10:01:31.903709
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54e69f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19179630279541 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 10:02:02.597159
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb554a9d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.20049214363098 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 10:02:32.084418
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5f68f90>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.189792156219482 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 10:03:02.812297
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54cba70>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.243297576904297 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 10:03:32.325147
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5556990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191642999649048 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 10:04:02.836140
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5494910>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.21494483947754 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 10:04:32.451018
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54c6a10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19165349006653 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 10:05:03.318842
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb556e8f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.221556901931763 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 10:05:32.649417
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5562930>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.18995451927185 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 10:06:02.319387
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54aea10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.197386980056763 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 10:06:31.810481
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ff970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19141387939453 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 10:07:02.660748
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54a5930>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.21745800971985 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 10:07:31.902940
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54fe970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19144868850708 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 10:08:02.513851
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb554c8d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.230121850967407 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 10:08:32.139480
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54c16f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191919803619385 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 10:09:02.929652
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb550d910>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.233845949172974 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 10:09:32.284207
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55389f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191113233566284 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 10:10:02.860205
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54a39d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.207855224609375 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 10:10:32.504362
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54dda10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.18949031829834 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 10:11:03.400644
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5587950>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.21393656730652 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 10:11:32.664401
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d8a10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.192225694656372 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 10:12:02.249382
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5531a10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.210550546646118 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 10:12:31.863957
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55249d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191224336624146 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 10:13:02.571142
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55539f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.242623567581177 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 10:13:32.074432
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54cb9d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.18924593925476 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 10:14:02.613684
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5532910>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.231738567352295 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 10:14:32.230679
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb554d9b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.18852472305298 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 10:15:03.012044
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54e6390>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.241416215896606 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 10:15:32.441459
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5584a10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191640377044678 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 10:16:02.981610
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54b6930>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.237517833709717 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 10:16:32.681379
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54cf9d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19092035293579 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 10:17:03.338789
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54caa30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.24714946746826 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 10:17:32.742710
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb552b990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19176197052002 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 10:18:02.596543
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54a09d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.223722219467163 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 10:18:32.203963
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55679d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.189892053604126 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 10:19:03.070719
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5515950>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.202768802642822 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 10:19:32.381425
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb551f9d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191845655441284 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 10:20:02.886410
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54e6990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.22475528717041 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 10:20:32.525456
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54b7990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.18608283996582 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 10:21:03.323299
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ae930>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.231264352798462 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 10:21:32.732258
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54bf950>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.1911563873291 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 10:22:02.420205
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5556910>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.197893381118774 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 10:22:31.912907
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ad9b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19133496284485 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 10:23:02.674757
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f58f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.2423574924469 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 10:23:32.080392
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5520970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.18949055671692 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 10:24:02.652286
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55299f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.22208571434021 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 10:24:32.243257
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5497990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19026517868042 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 10:25:03.078472
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f3950>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.21045160293579 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 10:25:32.402213
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5568a90>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.186574459075928 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 10:26:02.975518
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54e59d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.26356315612793 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 10:26:32.598093
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f0a10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19058394432068 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 10:27:03.433360
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54c1910>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.212475299835205 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 10:27:32.716178
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f69d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.188727140426636 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 10:28:02.347855
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54b0990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19921875 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 10:28:31.858165
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54e9930>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.18905735015869 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 10:29:02.694512
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54fea10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.238412857055664 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 10:29:32.051968
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb555b9d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191323280334473 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 10:30:02.683729
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb555d930>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.2049880027771 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 10:30:32.204619
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54c8370>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.189953327178955 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 10:31:02.926818
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5580a10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.23846983909607 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 10:31:32.367197
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb551f9f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.18995189666748 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 10:32:02.957497
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb556fa30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.226061820983887 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 10:32:32.560111
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54de9f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.193293571472168 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 10:33:03.337410
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb549b950>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.2262282371521 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 10:33:32.755143
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5538a70>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19163703918457 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 10:34:02.440329
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55089f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.196674823760986 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 10:34:31.960019
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ae9b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.190653800964355 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 10:35:02.670357
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54fa9f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.231215476989746 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 10:35:32.138698
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55099f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19234585762024 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 10:36:02.774430
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5588930>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.205580472946167 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 10:36:32.317919
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb556f9b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191872119903564 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 10:37:03.197418
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54bf950>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.212908267974854 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 10:37:32.470738
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb62357f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19129490852356 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 10:38:03.021938
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5582930>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.21614646911621 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 10:38:32.681238
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54fc9b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.1874680519104 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 10:39:02.539197
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5588950>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.202861070632935 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 10:39:31.841527
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ef9f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.190998077392578 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 10:40:02.462397
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54e8930>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.216327667236328 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 10:40:32.003629
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54a59b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.18989634513855 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 10:41:02.682428
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb557a9d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.24067211151123 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 10:41:32.212986
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54929b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.190866947174072 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 10:42:02.818320
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54fb9d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.23005771636963 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 10:42:32.401815
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54e2a10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191843271255493 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 10:43:03.201514
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54faa70>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.244025230407715 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 10:43:32.520913
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5515a50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.18942642211914 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 10:44:03.241924
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb551b930>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19789719581604 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 10:44:32.710580
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f79b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.18954849243164 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 10:45:02.613152
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54fb9d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.210837602615356 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 10:45:31.879828
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5516a30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.189290523529053 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 10:46:02.463632
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb554e990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.295615434646606 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 10:46:32.093459
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55029d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191929578781128 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 10:47:02.903618
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5534990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.229401111602783 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 10:47:32.266901
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb558c990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19226574897766 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 10:48:02.873933
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb557f9f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.211820363998413 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 10:48:32.419130
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55339b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191625595092773 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 10:49:03.251770
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54939b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.21377396583557 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 10:49:32.639543
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5493990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.18699836730957 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 10:50:02.181696
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54c5990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.221822500228882 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 10:50:31.749797
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55109f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.187785863876343 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 10:51:02.687819
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb550e970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.221935987472534 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 10:51:31.987727
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb552ca90>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.192792654037476 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 10:52:02.705103
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55089f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19622826576233 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 10:52:32.192359
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5504950>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.186773538589478 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 10:53:02.955329
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54a2990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.217108249664307 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 10:53:32.359067
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54caa30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191588878631592 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 10:54:02.946808
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54cc9f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.23045802116394 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 10:54:32.590149
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5497a70>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.190869331359863 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 10:55:02.298387
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54b9970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.245010137557983 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 10:55:31.758513
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5521950>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.190143585205078 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 10:56:02.439921
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb552c970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.201065063476562 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 10:56:31.937682
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5554930>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19115972518921 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 10:57:02.727798
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb554f9b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.248889923095703 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 10:57:32.084905
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55339f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19215440750122 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 10:59:03.170957
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55609d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.209744930267334 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 10:59:32.435661
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb548fa10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.18780016899109 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 11:00:02.949180
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54999d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.20421576499939 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 11:00:32.563738
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54dd9d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191908359527588 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 11:01:03.295094
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5544950>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.24173641204834 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 11:01:32.742220
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54e9a70>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.228553295135498 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 11:02:02.372554
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55379d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.205692768096924 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 11:02:31.995892
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54a7990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.187986373901367 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 11:03:02.685210
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5532930>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.220825672149658 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 11:03:32.087179
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d69b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.189234018325806 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 11:04:02.570283
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55469d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.2080295085907 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 11:04:32.265011
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54de990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191837072372437 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 11:05:03.118669
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb553c990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.211261510849 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 11:05:32.400337
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54e39f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.190728664398193 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 11:06:03.057309
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d2a30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.231953859329224 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 11:06:32.695942
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55519b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19168710708618 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 11:07:02.504442
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55769d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.20901870727539 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 11:07:31.794109
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ec910>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.189815759658813 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 11:08:02.372830
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d69b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.219375610351562 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 11:08:31.955676
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54e79f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.193137884140015 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 11:09:02.838054
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54cc950>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.24088454246521 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 11:09:32.199256
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54af9b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.192002058029175 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 11:10:02.784106
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54a3a10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.227961540222168 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 11:10:32.405356
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f3a10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19119119644165 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 11:11:03.129603
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5536970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.237557649612427 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 11:11:32.562599
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54a7a10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.193172454833984 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 11:12:03.065740
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55739f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.21513867378235 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 11:12:32.751286
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb549ba30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.190561771392822 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 11:13:02.520346
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f6990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.25160813331604 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 11:13:31.920123
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55789b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191235303878784 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 11:14:02.473430
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb553d9f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.22966504096985 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 11:14:32.097867
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54e09f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19025230407715 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 11:15:02.832664
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54969d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.239109992980957 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 11:15:32.258147
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55409d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19337487220764 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 11:16:02.873929
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5490a10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.23029136657715 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 11:16:32.441397
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5573990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19210386276245 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 11:17:03.240283
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5505950>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.21870732307434 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 11:17:32.612158
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f39d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191277980804443 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 11:18:03.158123
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54c7a50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.21497941017151 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 11:18:32.749167
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54fe9b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.190980195999146 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 11:19:02.632050
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5514970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.207154989242554 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 11:19:31.994864
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb555d9d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191595554351807 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 11:20:02.630653
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb552e990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.202725887298584 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 11:20:32.129740
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55669d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.195857763290405 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 11:21:03.012111
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb552b9d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.21096658706665 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 11:21:32.293670
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55179f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.192427396774292 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 11:22:02.834108
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb556a9d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.21836519241333 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 11:22:32.494758
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb554a950>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.189183712005615 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 11:23:03.275017
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5543a10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.2469584941864 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 11:23:32.692749
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55299b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.18834352493286 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 11:24:02.297574
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54c9990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.22186303138733 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 11:24:31.889171
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ada10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19222092628479 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 11:25:02.567161
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5547990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.226543188095093 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 11:25:32.060060
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb549da30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191211700439453 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 11:26:02.721320
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55539d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.232847452163696 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 11:26:32.251964
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5f516b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19157361984253 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 11:27:02.997039
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb553d990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.23659610748291 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 11:27:32.438858
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5544970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.18904423713684 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 11:28:03.068494
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54bf950>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.21109938621521 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 11:28:32.590673
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb620b7b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.187990188598633 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 11:29:02.481664
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54c89f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.21707534790039 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 11:29:31.787043
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5557950>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191184520721436 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 11:30:02.347069
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f1a10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.22459888458252 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 11:30:31.942727
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55559f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.18933653831482 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 11:31:02.742766
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb551ba10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.246318101882935 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 11:31:32.078349
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d9970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.18949294090271 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 11:32:02.643488
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ca9b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.235248565673828 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 11:32:32.305740
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb550d9b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.189293146133423 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 11:33:03.027160
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb549c9b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.24110698699951 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 11:33:32.516109
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54c6950>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19238305091858 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 11:34:03.153711
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5536930>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.211885929107666 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 11:34:32.632092
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5490a10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191423654556274 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 11:35:02.480844
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb557ba30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.252593994140625 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 11:35:31.822259
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55709b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.186712503433228 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 11:36:02.352754
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54bd970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.208621978759766 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 11:36:32.023184
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb558b9f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191182374954224 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 11:37:02.947928
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5527990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.21126675605774 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 11:37:32.237052
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55779b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19267225265503 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 11:38:02.949321
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ab9d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19720721244812 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 11:38:32.454506
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55369d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19088625907898 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 11:39:03.121330
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5508970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.229334592819214 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 11:39:32.619296
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55319b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191999673843384 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 11:40:02.314016
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54dda30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.199501752853394 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 11:40:31.822323
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5560970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.187456607818604 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 11:41:02.808326
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d7950>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.215182542800903 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 11:41:32.046642
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb549a930>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.192030429840088 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 11:42:02.621374
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5535990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.23099660873413 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 11:42:32.246265
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5522950>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.192074060440063 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 11:43:03.004703
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55719f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.220374584197998 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 11:43:32.428108
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5562970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.190083026885986 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 11:44:03.132701
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55169b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.199172496795654 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 11:44:32.627446
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55459b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191630125045776 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 11:45:02.338280
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f1990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.221763849258423 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 11:45:31.803111
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb556a990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191617965698242 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 11:46:02.442814
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5575950>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.22986125946045 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 11:46:32.026676
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d99d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.186818838119507 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 11:47:02.746981
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb557c950>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.24956178665161 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 11:47:32.146223
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55559f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.18857455253601 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 11:48:02.715838
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb554d9f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.216663599014282 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 11:48:32.418949
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5584950>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.187504768371582 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 11:49:03.323704
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54cc9d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.220102310180664 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 11:49:32.693096
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb549c3b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.1906476020813 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 11:50:02.346913
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54cb970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.196529150009155 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 11:50:31.843683
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54cc950>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19163227081299 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 11:51:02.667883
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb551e9f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.24794292449951 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 11:51:32.021302
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54a59f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.187382221221924 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 11:52:02.689998
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54949f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19749116897583 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 11:52:32.238201
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55869b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19177508354187 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 11:53:03.003578
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb554e9f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.245559215545654 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 11:53:32.361397
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d1990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.187822341918945 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 11:54:02.863971
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb554c9d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.217077255249023 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 11:54:32.645196
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5566a70>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19043231010437 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 11:55:02.552166
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5534970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.209665536880493 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 11:55:31.789577
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5543a10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19161629676819 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 11:56:02.435168
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54dd970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.207026958465576 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 11:56:31.981176
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5543670>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191351890563965 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 11:57:02.799991
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55159b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.248143672943115 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 11:57:32.188129
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55429b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.192749738693237 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 11:59:03.026868
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54b0910>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.211241483688354 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 11:59:32.540504
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d8a10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.188163995742798 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 12:01:03.790999
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb556f950>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 21.141173124313354 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 12:01:31.835991
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5580a70>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19272494316101 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 12:02:02.403697
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5495950>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.218828678131104 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 12:02:32.006974
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5557970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19102644920349 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 12:03:02.936428
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55139b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.205837965011597 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 12:03:32.202796
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5525990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19097661972046 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 12:04:02.672439
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5545990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.22753596305847 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 12:04:32.388483
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5559a10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.187796592712402 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 12:05:03.180333
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54a3a10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.206273317337036 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 12:05:32.528198
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5536a90>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.188106060028076 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 12:06:03.076340
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5581950>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.208972930908203 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 12:06:32.682527
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5506a50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.18847894668579 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 12:07:02.720136
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54c0990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19552755355835 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 12:07:31.954305
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55409f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.190441131591797 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 12:08:02.679664
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55509f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19654417037964 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 12:08:32.128280
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb551e9d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191749811172485 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 12:09:02.870869
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5560990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.231325387954712 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 12:09:32.263201
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54fa330>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.192137479782104 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 12:10:02.897926
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54e1350>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.230669736862183 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 12:10:32.412528
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb557e9b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191109657287598 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 12:11:03.319227
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d19b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.214250564575195 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 12:11:32.553563
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54bf950>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.185566663742065 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 12:12:03.139437
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55598f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.23294186592102 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 12:12:32.768107
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5f9d6b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.190624237060547 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 12:13:02.603527
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54b1310>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.237237691879272 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 12:13:31.963970
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54be9d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.192298650741577 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 12:14:02.638580
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f49b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.197035312652588 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 12:14:32.097151
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d5a10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.18940281867981 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 12:15:02.883282
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5582910>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.22555422782898 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 12:15:32.282230
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54c1a30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.190887212753296 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 12:16:02.858137
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5520910>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.232539176940918 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 12:16:32.517297
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5586a50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191104412078857 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 12:17:03.309280
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54959f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.244714736938477 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 12:17:32.675748
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5532970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19207787513733 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 12:18:02.369312
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55578f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.208272218704224 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 12:18:31.986142
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f4950>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.188626527786255 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 12:19:02.797503
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54fd990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.234872102737427 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 12:19:32.280904
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5531990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.190293312072754 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 12:20:02.937646
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb554a9b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.215915203094482 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 12:20:32.502672
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb554ba90>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.188576459884644 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 12:21:03.341714
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb555c9b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.26807737350464 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 12:21:32.752288
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f29f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191810846328735 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 12:22:02.399018
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d2990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.200375080108643 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 12:22:31.971233
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55749b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191590309143066 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 12:23:02.681370
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ee970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.23223066329956 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 12:23:32.100458
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb554f9b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.193222045898438 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 12:24:02.687413
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb553ea70>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.215438842773438 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 12:24:32.287969
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb550c970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191975831985474 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 12:25:03.161976
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb557a9b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.2041118144989 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 12:25:32.462853
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54fb950>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19138789176941 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 12:26:03.122068
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5558930>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.206648588180542 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 12:26:32.631061
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54b9990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19072961807251 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 12:27:02.583076
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54b99f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.212414979934692 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 12:27:31.831339
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5531990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.188405752182007 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 12:28:02.597665
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb553a970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19327163696289 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 12:28:32.101518
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54969f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.192604303359985 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 12:29:02.905680
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54dd9b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.247085094451904 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 12:29:32.282416
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5505a30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191377878189087 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 12:30:02.862797
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54a4a30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.21097421646118 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 12:30:32.398362
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5508950>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.192296743392944 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 12:31:03.217393
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb557aa10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.24162006378174 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 12:31:32.571202
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54eb950>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.18829584121704 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 12:32:02.142959
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54c28d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.20991039276123 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 12:32:31.755086
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d2a10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191713094711304 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 12:33:02.634157
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54b9990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.221511125564575 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 12:33:31.924813
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55149b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19066596031189 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 12:34:02.515751
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d8990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.22493863105774 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 12:34:32.153031
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f29b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191702365875244 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 12:35:02.974617
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb556fa30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.24705195426941 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 12:35:32.322825
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5586a30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.189818859100342 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 12:36:02.870470
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5503a10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.23869800567627 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 12:36:32.475328
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb551f9f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191396236419678 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 12:37:03.302790
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d8a10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.248720169067383 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 12:37:32.664712
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54db9f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.18900442123413 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 12:38:02.377268
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54af9d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.197513341903687 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 12:38:31.860543
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb553e9b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.188700914382935 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 12:39:02.734397
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5507970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.23714303970337 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 12:39:32.038447
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb550c970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.188865184783936 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 12:40:02.736914
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f3970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19988465309143 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 12:40:32.260308
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54c59f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19110131263733 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 12:41:03.149847
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54c1930>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.206233978271484 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 12:41:32.419156
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d79b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191582202911377 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 12:42:03.131448
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5582930>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.205669164657593 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 12:42:32.600551
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb554ea30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.187983989715576 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 12:43:02.263429
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ec990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.228116035461426 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 12:43:31.823091
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5a8df50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.188698291778564 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 12:44:02.474668
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54e79d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.196839332580566 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 12:44:31.961864
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb551b970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19225001335144 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 12:45:02.877752
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb551a9b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.212318897247314 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 12:45:32.166146
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55329d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.190820455551147 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 12:46:02.766124
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f9930>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.2249014377594 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 12:46:32.384540
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f9a10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19242286682129 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 12:47:03.177843
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55529b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.213212728500366 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 12:47:32.540088
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb555cad0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.190754175186157 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 12:48:03.169968
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54cc990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.235393524169922 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 12:48:32.727454
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5501a10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.1889808177948 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 12:49:02.539225
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5558950>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.272275924682617 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 12:49:31.874590
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55389d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.18695878982544 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 12:50:02.577810
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55019d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.22196054458618 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 12:50:32.084799
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5573a10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19169282913208 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 12:51:03.005815
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb555b990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.217244863510132 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 12:51:32.285530
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f29b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191514015197754 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 12:52:02.851657
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ce8b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.224570751190186 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 12:52:32.435656
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5519a10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191444635391235 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 12:53:03.190865
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54b69f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.247385025024414 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 12:53:32.575176
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54b2930>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.188823461532593 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 12:54:02.285010
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54fb9f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.198320627212524 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 12:54:31.796704
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5581a70>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.190991640090942 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 12:55:02.620942
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54b79f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.249115467071533 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 12:55:32.052040
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f49f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.190717220306396 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 12:56:02.630109
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55539d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.21351909637451 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 12:56:32.245176
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb556e9b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19234848022461 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 12:57:03.098143
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5567a30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.211117267608643 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 12:57:32.480353
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb550da10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.192145347595215 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 12:59:02.478769
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5578a50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.23819351196289 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 12:59:31.854656
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f6970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191262245178223 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 13:00:02.406481
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54db950>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.22176742553711 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 13:00:32.016243
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54e19d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.18990206718445 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 13:01:02.786394
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54db9f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.22984266281128 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 13:01:32.208678
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb549da10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19036030769348 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 13:02:02.756959
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb555e970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.229798793792725 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 13:02:32.397694
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55499d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.188607931137085 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 13:03:03.250318
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54b4a30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.216197729110718 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 13:03:32.552334
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ff9d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191673755645752 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 13:04:03.280097
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55129f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19804620742798 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 13:04:32.727566
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55029d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.193121194839478 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 13:05:02.424054
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f5990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.225872039794922 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 13:05:31.894995
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54c99f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.18844246864319 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 13:06:02.480877
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54da990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.227255821228027 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 13:06:32.111739
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55789b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19106101989746 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 13:07:02.869124
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5541a10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.216969966888428 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 13:07:32.275034
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54a2a10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19124150276184 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 13:08:03.036854
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb549e930>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.198819160461426 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 13:08:32.531983
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54a59b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191781282424927 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 13:09:03.192300
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb556c990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.250391721725464 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 13:09:32.671701
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5530970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.189685821533203 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 13:10:02.356852
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f0970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19758367538452 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 13:10:31.861679
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55329d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19127130508423 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 13:11:02.591726
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb555f9b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.247695446014404 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 13:11:32.026711
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54919f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.18891191482544 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 13:12:02.502970
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5550950>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.221477031707764 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 13:12:32.166835
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5540970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.190888166427612 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 13:13:03.023300
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54a1910>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.243784427642822 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 13:13:32.361650
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54909d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.190373420715332 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 13:14:02.910360
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb552b9f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.212491512298584 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 13:14:32.501650
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54a0950>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19137215614319 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 13:15:03.451345
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f9930>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.20243191719055 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 13:15:32.705997
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5493ad0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191776275634766 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 13:16:02.320657
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5567a10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.235584259033203 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 13:16:31.827256
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb6515f10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.186784982681274 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 13:17:02.760248
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54fe970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.206226587295532 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 13:17:32.005986
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ab970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.192047357559204 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 13:18:02.553812
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54e88d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.22317385673523 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 13:18:32.177359
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb649df90>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.188138961791992 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 13:19:03.049293
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5520a10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.224820852279663 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 13:19:32.356218
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54dc9f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19157910346985 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 13:20:02.907761
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5545a10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.23037362098694 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 13:20:32.537281
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54a89b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.187047719955444 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 13:21:03.291416
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5fe07f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.264631986618042 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 13:21:32.727850
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55419b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191131830215454 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 13:22:02.280129
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ba990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.228741884231567 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 13:22:31.851794
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb62186f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.18734121322632 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 13:23:02.758034
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55789d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.211548328399658 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 13:23:32.102998
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54b8a90>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191821813583374 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 13:24:02.574725
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5577990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.21889352798462 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 13:24:32.286516
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb557e990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.18829846382141 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 13:25:03.109181
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5570970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.23723316192627 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 13:25:32.506564
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54e1ab0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.18981385231018 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 13:26:03.206571
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb553f370>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.198055028915405 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 13:26:32.702230
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f9990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191275358200073 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 13:27:02.438612
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5541950>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.246065855026245 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 13:27:31.866790
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb558c9d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.1904878616333 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 13:28:02.521002
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5559ad0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.211095809936523 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 13:28:32.093402
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb557ba30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.192168474197388 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 13:29:02.900302
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb557e9d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.245775938034058 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 13:29:32.277406
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54a0970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.190794706344604 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 13:30:02.888547
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb558e970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.202749490737915 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 13:30:32.406590
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55309f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191463470458984 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 13:31:03.320481
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5fbb710>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.208572387695312 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 13:31:32.643736
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb552d9f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19074845314026 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 13:32:02.277927
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb556d990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.198583841323853 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 13:32:31.773403
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5f9c670>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191561937332153 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 13:33:02.700624
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb550d8f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.200953245162964 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 13:33:31.938110
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5520970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.188204765319824 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 13:34:02.608183
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5578950>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.199627161026 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 13:34:32.058866
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55779b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191484689712524 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 13:35:02.977222
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5560970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.205118894577026 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 13:35:32.259865
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f69b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.189628839492798 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 13:36:03.152718
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54e9910>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.196672677993774 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 13:36:32.676080
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54dc930>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.189600467681885 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 13:37:02.520790
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5575950>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.211946725845337 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 13:37:31.823877
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54e8930>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19164800643921 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 13:38:02.331217
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb553fa10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.226674795150757 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 13:38:32.047264
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb61997d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.190465211868286 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 13:39:02.773979
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54b79b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.24756360054016 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 13:39:32.178516
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5546a90>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.18769359588623 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 13:40:02.801624
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb557a990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.21030902862549 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 13:40:32.346512
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54b69d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19103169441223 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 13:41:03.226007
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54e2930>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.198540449142456 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 13:41:32.539703
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ba9d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19171452522278 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 13:42:03.236253
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb550a990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19674849510193 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 13:42:32.674917
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54a3950>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.18895721435547 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 13:43:02.661170
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5504a10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.2289400100708 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 13:43:32.011398
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f49b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.190061569213867 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 13:44:02.578983
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb553e930>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.20106816291809 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 13:44:32.191321
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb550e2d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.195308685302734 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 13:45:02.917594
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55889b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.239315271377563 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 13:45:32.329911
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb554b990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19702911376953 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 13:46:02.986523
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb550b930>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.205460786819458 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 13:46:32.510179
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ee930>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.20147728919983 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 13:47:03.351349
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5517970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.214367866516113 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 13:47:32.676545
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54bf9b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.189716339111328 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 13:48:02.323115
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb61747b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.22179627418518 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 13:48:31.858912
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55139b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191440105438232 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 13:49:02.809786
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb553d930>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.225618839263916 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 13:49:32.052460
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ef970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191686391830444 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 13:50:02.725676
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb558c930>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.208378553390503 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 13:50:32.247156
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb550e9f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19212245941162 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 13:51:03.054750
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54b19d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.221457481384277 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 13:51:32.407213
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5518a50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191054582595825 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 13:52:03.108522
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5508990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.226625442504883 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 13:52:32.602420
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54bd910>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.189297676086426 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 13:53:02.396922
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54b8990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.213085412979126 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 13:53:31.820206
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb558a9b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.190759897232056 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 13:54:02.419986
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f9970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.23087215423584 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 13:54:31.959260
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb550c9b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.190963983535767 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 13:55:02.709743
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb558b9d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.251403331756592 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 13:55:32.143877
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb554d9f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.190968990325928 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 13:56:02.660490
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5538a10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.21912407875061 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 13:56:32.319146
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ff2d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191813707351685 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 13:57:03.174510
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5587970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.21068239212036 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 13:57:32.467752
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54a79b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.188910245895386 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 13:59:02.411878
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54e8a10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.226845502853394 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 13:59:31.868589
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb557c9d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19062066078186 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 14:00:02.432745
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5539930>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.220536708831787 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 14:00:32.021632
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb551a950>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19117832183838 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 14:01:02.998524
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55259b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.236567735671997 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 14:01:32.303327
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb556f990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.18959140777588 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 14:02:02.889137
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55749d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.2100989818573 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 14:02:32.485995
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5568950>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.190280199050903 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 14:03:03.255153
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5512a50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.229196071624756 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 14:03:32.692426
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb557e930>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.189116716384888 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 14:04:02.110127
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ea990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.227919578552246 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 14:04:31.800623
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54e69f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19119620323181 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 14:05:02.495415
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb548ea10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.23952031135559 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 14:05:31.930323
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54939f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191591024398804 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 14:06:02.464417
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb556c970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.216551303863525 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 14:06:32.174458
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5559930>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.193076372146606 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 14:07:02.959551
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb549a970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.22670602798462 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 14:07:32.322036
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55399f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.189054489135742 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 14:08:02.754842
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54e39b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.21904945373535 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 14:08:32.470440
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb552c970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.190982341766357 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 14:09:03.381793
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb551c930>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.211589336395264 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 14:09:32.611927
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54a9a10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.18827795982361 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 14:10:02.212048
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb556d990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.231138467788696 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 14:10:31.811015
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb548fa90>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191301107406616 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 14:11:02.492897
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d19f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.228255033493042 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 14:11:32.022044
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb550d370>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19129514694214 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 14:12:02.484307
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb59e3bb0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.212733507156372 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 14:12:32.185599
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5582a50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19075083732605 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 14:13:03.030366
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f0990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.207717657089233 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 14:13:32.358789
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54e59b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.188570499420166 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 14:14:02.983457
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb550a350>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.230245351791382 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 14:14:32.575206
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f39d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.190908432006836 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 14:15:03.190907
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54a4970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.225462436676025 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 14:15:32.738713
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5500990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.190764665603638 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 14:16:02.325714
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5f8c3d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.215029001235962 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 14:16:31.836351
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5499950>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19011902809143 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 14:17:02.702921
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ea970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.21358036994934 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 14:17:31.994185
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ea910>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.18900156021118 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 14:18:02.561157
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb556f970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.230716705322266 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 14:18:32.211435
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb553f9b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.187783002853394 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 14:19:02.948534
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54e8990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.24295997619629 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 14:19:32.335304
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55522d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191136360168457 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 14:20:02.914497
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55679d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.21282410621643 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 14:20:32.549522
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb554ba70>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19660520553589 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 14:21:03.509313
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55439d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.20070242881775 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 14:21:32.691055
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb6666dd0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.192445278167725 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 14:22:02.296053
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54a48f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.210559368133545 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 14:22:31.903661
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d89f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19056010246277 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 14:23:02.736338
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54aa950>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.20982003211975 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 14:23:32.092390
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5547990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.189099550247192 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 14:24:02.700468
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54b8990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.24102807044983 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 14:24:32.206432
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55509f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.193660497665405 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 14:25:03.039006
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f39b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.20894765853882 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 14:25:32.377175
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb556c990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191240072250366 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 14:26:02.981704
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5527950>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.210737466812134 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 14:26:32.609237
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55368d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191576957702637 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 14:27:03.376219
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb558c930>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.210965394973755 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 14:27:32.763885
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5556a90>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19106101989746 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 14:28:02.338808
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5579950>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.219010829925537 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 14:28:31.901479
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5527a10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.18987536430359 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 14:29:02.839893
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb557e9f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.211533784866333 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 14:29:32.070597
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55179b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19085693359375 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 14:30:02.562285
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5513a30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.209066152572632 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 14:30:32.288789
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb557aa70>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191163301467896 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 14:31:02.829117
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5513990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.241084814071655 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 14:31:32.441143
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ef990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19295048713684 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 14:32:03.129335
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55629d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.198407411575317 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 14:32:32.606598
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5589950>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191433429718018 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 14:33:02.310771
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5589910>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.20940113067627 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 14:33:31.782055
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54bf9f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.188719034194946 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 14:34:02.366797
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb555c9b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.235052824020386 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 14:34:31.986724
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55869d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19215226173401 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 14:35:02.738888
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ba930>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.22211217880249 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 14:35:32.163594
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ee9b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.18855905532837 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 14:36:02.725466
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ea8f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.21169662475586 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 14:36:32.367936
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb548f9d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.189517498016357 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 14:37:03.118168
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb550f990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.227475881576538 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 14:37:32.599913
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5495990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.187955379486084 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 14:38:02.256419
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb552f8f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.224472045898438 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 14:38:31.875349
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54e29f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191590547561646 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 14:39:02.591951
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb554d9d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.223352432250977 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 14:39:31.966696
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb554d9b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191399812698364 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 14:40:02.706927
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5fd2650>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.197912216186523 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 14:40:32.180895
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54c39d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.189288854599 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 14:41:03.067420
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5562970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.219173431396484 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 14:41:32.458099
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ef9d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.192296981811523 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 14:42:02.985777
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb554f990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.219877243041992 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 14:42:32.562428
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5585950>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.18871283531189 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 14:43:03.195216
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54cc390>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.23061442375183 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 14:43:32.766696
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb553c9d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191054582595825 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 14:44:02.376215
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb557c8f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.22316288948059 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 14:44:32.012682
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb554e970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191508293151855 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 14:45:02.812358
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5557a30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.209001779556274 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 14:45:32.108864
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f3a30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.189579486846924 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 14:46:02.791341
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5564a50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.197585105895996 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 14:46:32.285995
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb553c970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191104650497437 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 14:47:03.174073
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55809b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.231121063232422 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 14:47:32.449159
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5534990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19091796875 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 14:48:03.022854
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55309d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.237321138381958 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 14:48:32.649283
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55268f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191088914871216 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 14:49:02.589899
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb555e970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.201951503753662 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 14:49:31.796834
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb557e9d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.189429759979248 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 14:50:02.580263
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5f32690>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.197410345077515 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 14:50:32.006122
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55449b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.189195156097412 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 14:51:02.817447
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54b29f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.24927043914795 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 14:51:32.265424
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54a5930>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.189241409301758 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 14:52:02.970362
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5496990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.198729038238525 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 14:52:32.459049
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5533970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19284152984619 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 14:53:03.391504
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb556b950>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.21092391014099 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 14:53:32.664788
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb556b8b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.18671202659607 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 14:54:02.250668
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ee9f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.231911182403564 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 14:54:31.875552
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54e0970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191411018371582 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 14:55:02.662226
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ef950>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.21194052696228 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 14:55:32.080028
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb556f990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191142559051514 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 14:56:02.606046
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5521a10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.230442762374878 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 14:56:32.165543
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ed990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.190725564956665 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 14:57:02.986386
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54e7970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.213943243026733 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 14:57:32.318237
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54959b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.189860343933105 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 14:59:03.351791
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5491950>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.240558385849 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 14:59:32.799279
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb554e9d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.192525148391724 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 15:00:02.359831
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5569a90>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.199841022491455 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 15:00:31.864679
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d89d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19173502922058 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 15:01:02.416663
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5556970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.231312036514282 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 15:01:32.078621
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55219d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191255807876587 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 15:02:02.749170
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54a9930>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.197622776031494 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 15:02:32.244327
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb554a950>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.189354419708252 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 15:03:02.957050
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54c6970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.230807304382324 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 15:03:32.442899
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54de990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.188915967941284 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 15:04:03.032352
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55579b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.26532530784607 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 15:04:32.642527
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f0a70>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19023609161377 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 15:05:02.467090
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54afa30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.210747718811035 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 15:05:31.881441
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d39b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191924810409546 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 15:06:02.497775
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54e09b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.235755920410156 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 15:06:32.025624
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55559d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.190653085708618 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 15:07:02.755207
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55709d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.2282497882843 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 15:07:32.235702
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb551b9f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.190912008285522 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 15:08:02.881164
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5562a30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.22361922264099 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 15:08:32.532993
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5549a10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191641092300415 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 15:09:03.298906
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5554990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.22636651992798 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 15:09:32.604088
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb549e9b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.185401678085327 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 15:10:02.330706
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb553c990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.226139783859253 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 15:10:31.853077
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5511930>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.189286470413208 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 15:11:02.586379
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55499b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.248881816864014 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 15:11:32.018694
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5588930>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.187491178512573 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 15:12:02.718468
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54e59b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.199867248535156 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 15:12:32.216826
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5569a30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191624402999878 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 15:13:03.092371
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54a99f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.241655588150024 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 15:13:32.460245
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54909b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.190844297409058 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 15:14:03.056488
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54e59f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.226043462753296 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 15:14:32.733788
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb551f950>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191811323165894 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 15:15:02.405930
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54e0970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.244659900665283 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 15:15:31.804553
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5574a30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.188311100006104 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 15:16:02.510179
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5efb9b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.224412441253662 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 15:16:32.022040
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5582a30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.18759560585022 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 15:17:02.945171
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb550d950>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.210709810256958 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 15:17:32.224601
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55179f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191123008728027 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 15:18:02.798702
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5515930>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.22444224357605 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 15:18:32.412890
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f1910>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191110134124756 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 15:19:03.177095
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54e3a10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.219063758850098 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 15:19:32.579921
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5552a10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191531658172607 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 15:20:02.316319
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54e39f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19761371612549 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 15:20:31.760522
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5553970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191983461380005 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 15:21:02.523150
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55549d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.249915838241577 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 15:21:31.933039
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5521a50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.189176559448242 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 15:22:02.537722
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb558d970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.228598833084106 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 15:22:32.154758
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55109f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19075608253479 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 15:23:03.097685
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f4950>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.203808784484863 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 15:23:32.343083
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55232b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.188917875289917 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 15:24:03.101126
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ba970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.195049285888672 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 15:24:32.546326
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5532910>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19161558151245 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 15:25:03.404782
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54b3970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.211591243743896 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 15:25:32.697253
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55698b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.18703007698059 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 15:26:02.249024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54c7970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.21631169319153 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 15:26:31.869978
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5525950>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191394090652466 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 15:27:02.677421
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55199b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.236506938934326 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 15:27:32.141935
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5533910>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191367626190186 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 15:28:02.797823
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d29b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19845151901245 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 15:28:32.304154
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5526a10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.192184686660767 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 15:29:03.130683
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54c1950>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.238643169403076 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 15:29:32.477066
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54fa2b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.18967628479004 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 15:30:02.982935
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb555ba10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.21808433532715 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 15:30:32.670477
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5561a90>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.190967082977295 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 15:31:02.370674
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb555a9d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.222736597061157 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 15:31:31.903743
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54c79b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.185901880264282 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 15:32:02.569918
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ff910>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19814395904541 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 15:32:32.064602
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55349d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.192516565322876 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 15:33:02.947949
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb556f8f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.21843934059143 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 15:33:32.245880
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb550b970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19171953201294 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 15:34:02.680311
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb557c9b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.21820044517517 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 15:34:32.402530
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54b19f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.190993785858154 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 15:35:03.235895
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54c5990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.212223768234253 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 15:35:32.585653
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5566950>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19155764579773 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 15:36:03.101640
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f8990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.209203720092773 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 15:36:32.766382
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5553a30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191007137298584 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 15:37:02.524681
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54a5950>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.24726128578186 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 15:37:31.905944
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb552da50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.18856406211853 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 15:38:02.503506
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb549b9d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.21265482902527 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 15:38:32.247973
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ca6b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191126108169556 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 15:39:02.872366
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5531970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.237825393676758 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 15:39:32.276412
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb555b9d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.190974950790405 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 15:40:02.885738
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ed8f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.22261667251587 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 15:40:32.446779
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb549f9d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191655158996582 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 15:41:03.226466
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5571950>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.234463214874268 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 15:41:32.641620
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54db970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19100594520569 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 15:42:02.197929
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ea930>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.22884249687195 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 15:42:31.867186
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f69d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.186784744262695 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 15:43:02.592285
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5583310>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.222972869873047 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 15:43:32.014583
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54b1a50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.189009189605713 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 15:44:02.525118
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54bc930>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.23378849029541 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 15:44:32.131737
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb555a9d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.18841314315796 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 15:45:02.900903
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ac9b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.240190267562866 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 15:45:32.335714
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5529a50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19182777404785 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 15:46:02.859496
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54e39b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.232199907302856 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 15:46:32.447801
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb553ca90>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.18828535079956 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 15:47:03.266165
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5555950>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.24527597427368 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 15:47:32.618776
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5497990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191263914108276 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 15:48:02.164826
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54b49b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.23514699935913 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 15:48:31.881680
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d69d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191328287124634 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 15:49:02.676620
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55489b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.21384572982788 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 15:49:32.055475
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb556d9d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19096541404724 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 15:50:02.619699
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb553f9d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.230209350585938 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 15:50:32.213137
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5509970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.193469524383545 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 15:51:03.003613
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5517990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.248263597488403 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 15:51:32.419805
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb551f5b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19122862815857 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 15:52:02.985549
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb556aa30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.232997179031372 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 15:52:32.548720
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5ac8c30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.187562942504883 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 15:53:03.448658
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ae9d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.210530996322632 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 15:53:32.758816
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55859d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19150710105896 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 15:54:02.388855
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54bca30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.22338366508484 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 15:54:31.991690
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54a1a30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191873788833618 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 15:55:02.846429
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55679f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.208009004592896 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 15:55:32.134804
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5563970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.186662435531616 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 15:56:02.705101
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb549c950>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.22471594810486 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 15:56:32.350353
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb551c9f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191055059432983 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 15:57:02.998671
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb554b290>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.2376708984375 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 15:57:32.544676
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb61e3770>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.186829566955566 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 15:59:02.454604
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54efa30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.24214768409729 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 15:59:31.837277
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb557b990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191970109939575 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 16:00:02.409230
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54a09b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.230918884277344 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 16:00:32.018260
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5542930>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.186241149902344 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 16:01:02.999052
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54be930>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.20464849472046 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 16:01:32.227744
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5516990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.188610315322876 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 16:02:02.748947
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb555b990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.211820602416992 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 16:02:32.435944
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5503950>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19165325164795 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 16:03:03.130001
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54b6950>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.22356867790222 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 16:03:32.583016
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54a4950>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19170618057251 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 16:04:03.203840
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5b39910>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.231706142425537 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 16:04:32.750896
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f4970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19055485725403 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 16:05:02.644360
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5567970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.228394746780396 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 16:05:31.922314
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55009b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.188549280166626 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 16:06:02.535694
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5546990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.219830751419067 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 16:06:32.137854
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5533930>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.18869662284851 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 16:07:03.051027
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54c39b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.211973190307617 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 16:07:32.326791
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d6990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19066047668457 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 16:08:02.974959
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5554910>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.232319116592407 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 16:08:32.600966
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5533930>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.190722942352295 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 16:09:03.393152
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5a80f50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.23855185508728 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 16:09:32.755704
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb553ca50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.189680814743042 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 16:10:02.409596
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb552c910>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.197422742843628 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 16:10:31.901889
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55809f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.187604427337646 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 16:11:02.673169
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55019f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.22070288658142 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 16:11:32.120182
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55259b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191333770751953 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 16:12:02.682579
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55569b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.2162504196167 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 16:12:32.270915
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5505950>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191574811935425 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 16:13:03.070989
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb554f910>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.284061431884766 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 16:13:32.504400
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5492a30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.18733286857605 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 16:14:03.023907
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ae950>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.223695278167725 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 16:14:32.634607
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f7950>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191709518432617 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 16:15:02.541748
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54a5950>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.23985743522644 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 16:15:31.838771
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54b2990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.186981201171875 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 16:16:02.494618
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb552a9d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.235478401184082 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 16:16:32.055889
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb555f9d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191471815109253 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 16:17:02.590091
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb549a990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.232547760009766 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 16:17:32.172960
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5562610>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.190841913223267 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 16:18:02.709775
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f29b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.230986833572388 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 16:18:32.306117
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54dda50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.188603162765503 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 16:19:03.011206
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5493950>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.22836136817932 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 16:19:32.474070
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ce9b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.187870264053345 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 16:20:03.157604
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5571970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19865870475769 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 16:20:32.693255
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5589970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191394805908203 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 16:21:02.482424
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb556e950>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.25279450416565 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 16:21:31.879056
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54de9d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191982746124268 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 16:22:02.412790
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54a0990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.22218918800354 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 16:22:32.038813
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54b8970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.189456701278687 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 16:23:02.744713
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55769b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.246729135513306 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 16:23:32.188372
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54fb9b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.189584016799927 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 16:24:02.775684
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f7a50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.224901914596558 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 16:24:32.373847
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54c8950>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.189595222473145 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 16:25:03.337501
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55299d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.211958169937134 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 16:25:32.540293
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb557c950>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.190356254577637 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 16:26:03.188313
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54fa950>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.2241108417511 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 16:26:32.779155
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb553a8f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19260883331299 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 16:27:02.579269
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5581990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.21158266067505 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 16:27:31.948074
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55079b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19194221496582 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 16:28:02.518179
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55639d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.215578079223633 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 16:28:32.190606
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d79b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19031596183777 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 16:29:03.034204
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb556c910>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.214650630950928 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 16:29:32.283435
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55799d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.18815803527832 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 16:30:02.982984
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb554b970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.198356866836548 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 16:30:32.461944
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb556b9f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19053888320923 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 16:31:03.365967
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55799b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.21681237220764 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 16:31:32.629625
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55059b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.190945625305176 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 16:32:02.317168
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54df9f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.198312759399414 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 16:32:31.776720
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54c39f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.2178475856781 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 16:33:02.571338
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f4970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.24029803276062 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 16:33:31.980177
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5580a10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.187553644180298 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 16:34:02.615100
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5499a10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.207385540008545 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 16:34:32.096083
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb558a9d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191689014434814 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 16:35:02.970073
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ee9f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.220705270767212 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 16:35:32.303578
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54dca70>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.1906578540802 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 16:36:02.958657
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5581930>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.23056387901306 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 16:36:32.567508
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54b99b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191601991653442 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 16:37:03.344312
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb555b9f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.207980394363403 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 16:37:32.659605
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55299d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.189597368240356 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 16:38:02.274016
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55849f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.20762538909912 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 16:38:31.930991
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d99b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19258141517639 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 16:39:02.662664
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb553aa30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.220012426376343 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 16:39:32.045460
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54b4930>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.18618130683899 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 16:40:02.626823
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb557d9f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.227989673614502 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 16:40:32.215774
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54e7a10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.190857648849487 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 16:41:03.019278
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54e5930>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.240435123443604 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 16:41:32.366960
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb549e9f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.190352201461792 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 16:42:02.996534
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb556e950>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.213350296020508 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 16:42:32.531034
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ed9b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.189544200897217 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 16:43:03.258214
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb554b9d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.24346351623535 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 16:43:32.736844
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb554ea50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.187516927719116 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 16:44:02.380622
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5500990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.200825214385986 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 16:44:31.882535
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54959f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.186630964279175 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 16:45:02.705370
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb558e9d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.26844358444214 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 16:45:32.158981
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5563a70>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.189399242401123 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 16:46:02.747910
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55598d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.203834295272827 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 16:46:32.285480
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54e2970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.189592123031616 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 16:47:03.149371
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54aca10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.222955465316772 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 16:47:32.468252
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d1970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.189956665039062 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 16:48:03.168326
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5528a30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.197728157043457 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 16:48:32.635567
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5495990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.18364429473877 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 16:49:02.541035
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5530990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.215187788009644 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 16:49:31.806781
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54cc970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19077777862549 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 16:50:02.421259
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5532930>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.220718145370483 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 16:50:32.037019
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54dda30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.190443992614746 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 16:51:02.657930
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f19f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.24344229698181 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 16:51:32.129336
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb558c9d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.18696117401123 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 16:52:02.638390
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5581990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.21089744567871 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 16:52:32.332073
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54a9930>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.187415838241577 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 16:53:03.179954
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb552e9f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.224970817565918 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 16:53:32.514168
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb553da10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.190667867660522 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 16:54:03.098891
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54c5990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.233712434768677 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 16:54:32.593117
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5560930>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.18837809562683 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 16:55:02.325010
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb557a9b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.220566511154175 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 16:55:31.771489
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5fb0370>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.190881729125977 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 16:56:02.318391
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5572950>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.212976932525635 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 16:56:31.970457
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54fda90>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19230318069458 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 16:57:02.738608
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54bfa10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.248209714889526 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 16:57:32.156463
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54fc930>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.190742254257202 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 16:59:03.063669
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb65e15b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.247937440872192 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 16:59:32.468762
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb557c990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.18986749649048 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 17:00:03.137407
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54b8990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.201138734817505 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 17:00:32.628703
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb557aa50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.190945863723755 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 17:01:02.359729
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5587970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.261232614517212 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 17:01:31.827362
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb557e9b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.188868284225464 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 17:02:02.480818
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5b4a850>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.20551061630249 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 17:02:32.030777
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54df9f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.190003395080566 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 17:03:02.914337
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ca9f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.22725772857666 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 17:03:32.217906
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5560970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191349506378174 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 17:04:02.778861
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55869f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.20778727531433 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 17:04:32.352757
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb552da30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.187761545181274 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 17:05:03.294660
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54fd970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.212759971618652 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 17:05:32.570361
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb551fa50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19132900238037 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 17:06:03.134404
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54e0910>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.21703600883484 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 17:06:32.736106
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54af9b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.18833351135254 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 17:07:02.690525
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5501990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.2121422290802 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 17:07:32.013915
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54a99d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191716194152832 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 17:08:02.391228
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54be950>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.214606761932373 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 17:08:32.152642
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5501a10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.190229415893555 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 17:09:02.931451
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5508910>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.221922874450684 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 17:09:32.330878
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb556b990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19078040122986 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 17:10:02.936534
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb556b8f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.20164656639099 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 17:10:32.435981
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54bb9b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19024634361267 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 17:11:03.310203
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ec9b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.20969796180725 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 17:11:32.608279
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54a19b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19005799293518 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 17:12:02.302307
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d89b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.194098711013794 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 17:12:31.785565
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54fc990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.190731525421143 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 17:13:02.586166
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5497930>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.262899160385132 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 17:13:31.961898
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55179d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19203519821167 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 17:14:02.553034
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5521a10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.2072274684906 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 17:14:32.127831
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54c49d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191948890686035 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 17:15:02.808563
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb555e950>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.25133728981018 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 17:15:32.281937
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55229f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19125247001648 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 17:16:02.959597
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f49b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.29226779937744 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 17:16:32.517989
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55619f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19163727760315 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 17:17:03.255101
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55179b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.22876286506653 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 17:17:32.607530
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54cb990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19125008583069 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 17:18:02.233683
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb555b9b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.204570531845093 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 17:18:31.841665
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54a7990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19181799888611 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 17:19:02.564390
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb551e9d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.249127864837646 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 17:19:31.958565
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54de9b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.193405628204346 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 17:20:02.667358
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d3610>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.198994636535645 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 17:20:32.142351
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb550a9b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191407442092896 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 17:21:03.012598
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb550f9d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.23804497718811 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 17:21:32.339081
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54fd9b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19152808189392 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 17:22:02.922601
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb552f970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.22720742225647 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 17:22:32.542839
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ae9f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.192409992218018 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 17:23:03.413488
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54a3970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.213081121444702 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 17:23:32.683457
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5565a50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191840410232544 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 17:24:02.336958
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5544970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.194458484649658 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 17:24:31.895242
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb551f9d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.192135334014893 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 17:25:02.836268
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb550f990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19962739944458 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 17:25:32.079039
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb554da10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19210410118103 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 17:26:02.544219
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb554e950>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.209160327911377 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 17:26:32.219647
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb554c9b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191193342208862 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 17:27:03.083739
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5546990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.21444821357727 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 17:27:32.424987
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5526930>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.18692898750305 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 17:28:03.040992
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55399b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.20462918281555 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 17:28:32.589099
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5523990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19175696372986 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 17:29:03.559304
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54a62b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.206908226013184 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 17:29:32.774481
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54be9f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19175434112549 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 17:30:02.327856
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb552b9b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.23379135131836 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 17:30:31.882272
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55399f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.190197706222534 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 17:31:02.639676
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb556fa50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.246142148971558 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 17:31:32.107900
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5498990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.188360452651978 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 17:32:02.625142
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb551ba10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.2109055519104 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 17:32:32.358838
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5572990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191120386123657 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 17:33:02.999003
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54bb9b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.240283012390137 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 17:33:32.339811
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55019f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19149088859558 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 17:34:03.070891
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54da9b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.205301523208618 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 17:34:32.555716
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb552c9b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.18974471092224 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 17:35:02.883010
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5508930>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.21982431411743 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 17:35:32.149558
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54c59b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.189529418945312 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 17:36:02.741797
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5561930>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.20784592628479 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 17:36:32.376707
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54a49b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.188988208770752 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 17:37:03.157416
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb558e9f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.214694261550903 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 17:37:32.506780
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb557fa30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19063639640808 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 17:38:03.043496
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb550e910>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.238181114196777 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 17:38:32.792441
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d69d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19227170944214 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 17:39:02.556071
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f29f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.2478289604187 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 17:39:31.856314
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb555a970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191099882125854 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 17:40:02.467432
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ad950>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.232553243637085 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 17:40:32.089464
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54b2a10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191258430480957 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 17:41:02.801613
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54bf9b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.23988366127014 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 17:41:32.219799
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54e79d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.190905809402466 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 17:42:02.861339
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5540a10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.222190856933594 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 17:42:32.391859
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5512970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191376209259033 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 17:43:03.098478
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54caaf0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.229669094085693 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 17:43:32.590746
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5585990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.18984842300415 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 17:44:03.218478
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5505a10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.197191953659058 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 17:44:32.754700
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb555e9f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191752195358276 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 17:45:02.592504
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54c8990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.223084211349487 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 17:45:31.951808
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb555ea70>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.189940929412842 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 17:46:02.617560
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54dc910>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.199397087097168 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 17:46:32.129782
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb550f9b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.192138195037842 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 17:47:02.960436
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54b39d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.215629816055298 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 17:47:32.345595
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55239d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.189773559570312 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 17:48:03.030650
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5568a10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.216063499450684 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 17:48:32.567800
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55459d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.1887047290802 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 17:49:03.537375
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54b0910>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.20787477493286 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 17:49:32.752027
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5498930>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19051456451416 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 17:50:02.406594
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54e7970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.226642608642578 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 17:50:31.992373
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54bf950>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.189394235610962 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 17:51:02.767069
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54e99d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.23483180999756 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 17:51:32.319596
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55649b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19072937965393 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 17:52:02.949433
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5501910>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19723653793335 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 17:52:32.399135
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb558b970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.189638137817383 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 17:53:03.244641
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55489b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.209874153137207 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 17:53:32.569316
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f1a70>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19186520576477 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 17:54:03.208390
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5579910>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.211634159088135 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 17:54:32.740570
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55139d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.190540552139282 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 17:55:02.559710
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb551c8b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.24937343597412 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 17:55:31.950921
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55429b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.18964457511902 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 17:56:02.607722
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb554c930>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.229615926742554 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 17:56:32.127149
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d39b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.192825078964233 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 17:57:02.984255
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5522a10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.243930339813232 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 17:57:32.393353
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54e3950>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.192301750183105 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 17:59:03.027225
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55349f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.210275411605835 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 17:59:32.667960
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5500a10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.190476894378662 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 18:00:02.368888
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb552a9d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.197078466415405 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 18:00:31.918372
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb555ca10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19098997116089 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 18:01:03.160078
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5559930>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.216063499450684 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 18:01:32.544642
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d4a30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19006586074829 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 18:02:03.153799
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55558f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.204521894454956 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 18:02:32.704762
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb554a8f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191556215286255 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 18:03:02.524629
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb6182750>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.20591950416565 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 18:03:31.841990
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb550f9f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19072723388672 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 18:04:02.459538
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb556b910>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.23403310775757 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 18:04:32.025653
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb557d9d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191133975982666 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 18:05:02.970895
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54aea10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.212591886520386 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 18:05:32.292912
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb554a990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191010236740112 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 18:06:02.950687
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55612f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.197200775146484 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 18:06:32.428827
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55699d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191283464431763 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 18:07:03.416306
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54fd990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.197070598602295 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 18:07:32.638389
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55779b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19309139251709 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 18:08:02.217078
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d59b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.20464324951172 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 18:08:31.762558
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54949b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191120862960815 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 18:09:02.499049
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb553a950>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.238272190093994 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 18:09:31.881949
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5534970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.190056324005127 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 18:10:02.410686
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54a68f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.234057188034058 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 18:10:32.043164
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb556c930>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191712856292725 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 18:11:02.699197
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb61d0770>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.238123178482056 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 18:11:32.286496
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5495970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191782474517822 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 18:12:02.847654
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ea9d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.206676721572876 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 18:12:32.471175
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54a5990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.1908278465271 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 18:13:03.092696
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54cf950>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.230275630950928 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 18:13:32.703006
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d1990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.188786506652832 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 18:14:02.256953
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb557c9d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.229168176651 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 18:14:31.841990
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb553a9b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191628456115723 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 18:15:02.502441
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54a49b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.244441747665405 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 18:15:31.983601
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb550c9b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.187171936035156 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 18:16:02.662602
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb550b930>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.228806972503662 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 18:16:32.205648
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb556e950>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.18905735015869 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 18:17:03.062106
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54a99b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.208457231521606 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 18:17:32.375212
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55159f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.190284252166748 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 18:18:03.133841
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb558d270>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.211878299713135 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 18:18:32.583180
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f6990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.18979787826538 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 18:19:02.471880
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55459b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.210285663604736 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 18:19:31.761997
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54afa10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191277980804443 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 18:20:02.280735
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb558ba50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.208289861679077 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 18:20:32.011126
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54bb9f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191286087036133 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 18:21:02.756389
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54dd950>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.240198850631714 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 18:21:32.204267
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb553f9f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.192122220993042 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 18:22:02.808094
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54989b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.225133419036865 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 18:22:32.423765
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5505930>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191035747528076 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 18:23:03.193609
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5546990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.22786259651184 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 18:23:32.561142
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb553aab0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.190617561340332 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 18:24:03.308519
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5559990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.53711986541748 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 18:24:32.756483
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d8990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.190929651260376 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 18:25:02.572089
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb551b990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.227602005004883 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 18:25:31.984529
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb555f9f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.190473318099976 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 18:26:02.591538
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb554bab0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.206602334976196 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 18:26:32.108269
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb554c9d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19110083580017 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 18:27:02.805252
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54c9990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.25287890434265 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 18:27:32.271578
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb556c9d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.187626838684082 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 18:28:02.893451
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ae9d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.23435926437378 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 18:28:32.438964
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55049f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.188904285430908 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 18:29:03.484638
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d6950>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.214000701904297 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 18:29:32.701269
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5565990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.190200090408325 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 18:30:02.329608
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5553990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.233052015304565 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 18:30:31.875546
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb552d9b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191396236419678 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 18:31:02.523300
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb552b990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.23059844970703 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 18:31:32.052120
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55509b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19147253036499 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 18:32:02.590839
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5525970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.218245267868042 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 18:32:32.201282
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54e0a70>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.190282344818115 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 18:33:03.022767
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54e7890>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.211254835128784 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 18:33:32.384763
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb553d690>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191428661346436 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 18:34:02.963262
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d5a10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.231889486312866 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 18:34:32.535924
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54b9a10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.189865112304688 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 18:35:03.269695
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb550f9d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.226491451263428 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 18:35:32.805740
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54c39d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.188996076583862 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 18:36:02.394746
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54df9d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.234543561935425 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 18:36:31.997486
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54c29d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19058084487915 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 18:37:02.740814
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54c4970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.2510929107666 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 18:37:32.177036
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54df930>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191306591033936 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 18:38:02.904668
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb557f9b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.198322772979736 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 18:38:32.352027
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5526a30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.189427375793457 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 18:39:03.254932
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54fb970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.21069359779358 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 18:39:32.546564
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54919f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.190564155578613 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 18:40:03.093984
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d89d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.223885536193848 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 18:40:32.733617
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb558ea30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.187845945358276 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 18:41:02.451643
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5520910>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.239010334014893 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 18:41:31.914904
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5586910>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.187132358551025 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 18:42:02.477942
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb549a990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.22705078125 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 18:42:32.099009
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d6a10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.215444326400757 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 18:43:02.945740
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54bd9d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.233524084091187 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 18:43:32.261241
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5503910>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191661596298218 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 18:44:02.862722
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5577930>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.230358362197876 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 18:44:32.452068
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb553f9b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19069242477417 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 18:45:03.164593
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5494930>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.245542287826538 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 18:45:32.617142
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55629f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.189427137374878 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 18:46:02.398038
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55259b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.206093072891235 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 18:46:31.974233
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5568a10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191388368606567 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 18:47:02.827251
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54c3990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.199126958847046 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 18:47:32.092325
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5f3e990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.189085483551025 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 18:48:02.721265
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54fc9b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.197139501571655 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 18:48:32.294263
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f7a50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191429376602173 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 18:49:02.991602
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb550b990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.23715591430664 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 18:49:32.460232
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54dc9b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191481351852417 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 18:50:02.994448
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55289b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.211331129074097 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 18:50:32.547191
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb556d930>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19119429588318 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 18:51:03.243989
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d2950>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.231639862060547 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 18:51:32.647221
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5516a30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.1881902217865 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 18:52:02.275202
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb557f9b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.22099995613098 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 18:52:31.864423
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb558b9d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.194228172302246 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 18:53:02.717364
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54c19f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.215333938598633 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 18:53:32.056403
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54e6a70>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.189258337020874 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 18:54:02.679571
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb551f9d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.221462965011597 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 18:54:32.296478
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55779f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191290616989136 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 18:55:02.939920
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54942d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.227803230285645 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 18:55:32.420302
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55069f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191117763519287 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 18:56:03.039813
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54a7910>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.232420921325684 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 18:56:32.605238
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f0a10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191516876220703 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 18:57:02.437619
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5529910>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.215200185775757 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 18:57:31.758389
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb553a970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.192282676696777 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 18:59:02.730242
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb553b970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.22517204284668 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 18:59:32.240566
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d6930>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191402435302734 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 19:00:02.900953
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb554a990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.196868658065796 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 19:00:32.342536
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb555a9d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.18939471244812 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 19:01:03.172284
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb555a9b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.22284483909607 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 19:01:32.528710
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54e7990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.190980672836304 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 19:02:03.012345
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54bb990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.218756198883057 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 19:02:32.667986
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54a0950>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.18830418586731 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 19:03:02.429222
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5501a30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.252593517303467 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 19:03:31.882243
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5516990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19116449356079 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 19:04:02.370740
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54a19d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.229763984680176 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 19:04:32.019950
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb556f990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191750288009644 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 19:05:02.651984
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54949d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.233264923095703 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 19:05:32.225372
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb557c970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.190423250198364 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 19:06:02.696597
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb555c950>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.222393035888672 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 19:06:32.364809
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55479b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191941738128662 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 19:07:03.064182
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55109f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.24625587463379 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 19:07:32.539948
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54e4930>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.189669609069824 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 19:08:03.156849
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d5a10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.201324701309204 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 19:08:32.697401
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb550d990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.190244674682617 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 19:09:02.465255
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55299f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.219305276870728 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 19:09:31.895162
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb557e9b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19098401069641 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 19:10:02.392431
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb557e990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.22904658317566 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 19:10:32.047437
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55629f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.187987327575684 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 19:11:02.924741
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5516a30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.239251375198364 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 19:11:32.249539
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb551a9d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.184695720672607 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 19:12:02.786348
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54fc9f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.21976327896118 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 19:12:32.433082
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5588a70>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.188456058502197 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 19:13:03.394499
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54e0990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.21080231666565 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 19:13:32.632037
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb555b990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19147515296936 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 19:14:02.179838
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54bb930>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.22136378288269 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 19:14:31.818222
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ee970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.190858125686646 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 19:15:02.765781
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5521a30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.210408449172974 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 19:15:32.033948
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb550a5f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19215726852417 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 19:16:02.709600
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5528a10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.20092225074768 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 19:16:32.266665
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54eea30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.192739248275757 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 19:17:02.958114
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54cf930>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.22478151321411 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 19:17:32.424732
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5492330>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191007614135742 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 19:18:02.929945
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5582990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.222599029541016 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 19:18:32.676431
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54a4990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.192901372909546 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 19:19:03.314888
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55439b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.226399421691895 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 19:19:32.748229
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54db930>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.189462661743164 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 19:20:02.900399
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb552a9d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.231035709381104 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 19:20:32.444120
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54b5a50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.18769598007202 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 19:21:03.339715
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55039b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.211676597595215 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 19:21:32.642878
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55353d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.188474655151367 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 19:22:02.192367
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55355f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.213964700698853 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 19:22:31.814047
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55109b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.190770387649536 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 19:23:02.553276
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5503a30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.233868837356567 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 19:23:31.951152
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54aaa70>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.190281867980957 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 19:24:02.521703
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54cb9d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.232831239700317 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 19:24:32.191636
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5537a70>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.189873456954956 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 19:25:03.022384
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5545a30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.209519147872925 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 19:25:32.276291
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5583a30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.188822031021118 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 19:26:02.874552
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55709f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.231284618377686 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 19:26:32.526984
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5579a10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.189322471618652 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 19:27:03.282127
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54b7910>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.233054637908936 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 19:27:32.617347
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5563a90>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.186667919158936 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 19:28:02.314427
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54a39b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19720697402954 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 19:28:31.760875
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5490a10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.190014839172363 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 19:29:02.599619
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5553a10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.247612476348877 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 19:29:31.964276
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5557970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19235897064209 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 19:30:02.583806
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5547990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.2104754447937 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 19:30:32.090832
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f4a50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.190382480621338 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 19:31:02.866974
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb549b950>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.244638442993164 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 19:31:32.302505
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb552d930>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.188977479934692 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 19:32:02.958464
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54dca10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.197402000427246 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 19:32:32.524350
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb555b990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.189613580703735 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 19:33:03.266889
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54fc990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.2315354347229 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 19:33:32.646149
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5524990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.188979864120483 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 19:34:02.212205
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb551d970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.209128856658936 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 19:34:31.898985
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54fa9b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.190643072128296 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 19:35:02.704573
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55159b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.247647762298584 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 19:35:32.088745
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d49d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.190157175064087 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 19:36:02.604745
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54caa10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.225762844085693 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 19:36:32.321917
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5495990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.189507722854614 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 19:37:02.983821
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54e49b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.24452567100525 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 19:37:32.399126
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54b79d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191776275634766 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 19:38:02.975066
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d6990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.226688623428345 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 19:38:32.597470
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb551c990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.192524671554565 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 19:39:03.425832
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb555f8f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.21574854850769 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 19:39:32.771220
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5491a90>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191810846328735 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 19:40:02.343044
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb551c9b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.23305654525757 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 19:40:31.907882
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54cd950>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.188659191131592 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 19:41:02.682511
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54e6950>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.242825031280518 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 19:41:32.104495
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5518990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191383123397827 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 19:42:02.683489
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54e8970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.210171699523926 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 19:42:32.308575
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54b19f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19060444831848 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 19:43:03.099256
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb655ef10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.20940351486206 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 19:43:32.457004
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55319b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191241979599 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 19:44:03.145898
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5514970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.20362162590027 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 19:44:32.668244
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb549d990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19118618965149 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 19:45:02.514391
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54eca50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.24732804298401 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 19:45:31.850108
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb555f990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19185972213745 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 19:46:02.415530
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb651bf70>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.225865840911865 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 19:46:32.016856
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb553f990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19038724899292 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 19:47:02.728334
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5583a70>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.243011474609375 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 19:47:32.136569
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5565930>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.188645362854004 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 19:48:02.820787
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55689b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19779944419861 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 19:48:32.329718
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5545970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.18987464904785 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 19:49:03.225642
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5568930>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.213677406311035 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 19:49:32.530644
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54afa10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19021463394165 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 19:50:03.039152
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb551b9b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.223915100097656 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 19:50:32.639090
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5569930>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19047784805298 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 19:51:02.544355
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54c79d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.202041387557983 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 19:51:31.805294
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb557f970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191017150878906 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 19:52:02.487062
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54de990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19766640663147 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 19:52:32.022465
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5544930>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19208288192749 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 19:53:02.915272
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb556d950>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.210925817489624 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 19:53:32.140340
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54aea10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19159197807312 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 19:54:02.820288
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5503950>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.20399785041809 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 19:54:32.293171
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb552e950>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.189550638198853 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 19:55:03.011608
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54e3950>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.244443655014038 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 19:55:32.429323
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5559990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191368103027344 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 19:56:03.009994
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54de970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.23010563850403 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 19:56:32.630974
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54fb9d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.190375804901123 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 19:57:02.474993
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb556e970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.236702919006348 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 19:57:31.817263
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5563990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19427752494812 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 19:59:02.937880
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb549f2f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.21931219100952 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 19:59:32.260857
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5542930>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.188333988189697 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 20:00:02.786501
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54e7990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.230042934417725 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 20:00:32.369135
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb551a9f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.18888783454895 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 20:01:03.100987
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ff950>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.25135850906372 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 20:01:32.560658
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d19b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.188663244247437 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 20:02:03.193893
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5578990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.20560050010681 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 20:02:32.693788
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54aa990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.190356969833374 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 20:03:02.599903
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55479b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.231451511383057 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 20:03:31.919789
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55379f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.190722227096558 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 20:04:02.563315
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55559f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.20333695411682 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 20:04:32.079124
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54a59f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.187166452407837 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 20:05:02.926560
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb6167750>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.215765476226807 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 20:05:32.267561
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb556aa10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19123125076294 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 20:06:02.944975
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb554a990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.2103853225708 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 20:06:32.466065
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb553c9d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19054937362671 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 20:07:03.360922
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5511950>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.21186113357544 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 20:07:32.635860
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb549fa30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191556215286255 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 20:08:02.411129
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5588970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.28840208053589 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 20:08:31.861632
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54e19f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191460132598877 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 20:09:02.707976
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb552a950>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.209121227264404 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 20:09:31.933523
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55899b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.192214012145996 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 20:10:02.556909
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54a5970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.224754333496094 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 20:10:32.088854
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5ad0cf0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.187467336654663 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 20:11:03.034473
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb550c9b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.210108995437622 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 20:11:32.376309
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb551e9b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.192092657089233 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 20:12:02.904424
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55869d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.212220668792725 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 20:12:32.459973
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55369b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.190958738327026 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 20:13:03.333894
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54fd950>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.221794366836548 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 20:13:32.628939
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ed990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.189323663711548 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 20:14:02.314084
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d09d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.205673694610596 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 20:14:31.831883
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d2910>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.187628269195557 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 20:15:02.569097
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb553f9b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.219477891921997 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 20:15:32.064572
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb556f9d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191027641296387 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 20:16:02.770669
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54dd8f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.197362661361694 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 20:16:32.340282
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb556fa10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.190528392791748 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 20:17:03.044905
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54db970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.230496406555176 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 20:17:32.366425
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54fda10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191561937332153 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 20:18:02.924561
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54e9970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.232273817062378 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 20:18:32.534097
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb556c9d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19129252433777 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 20:19:03.280321
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54c6930>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.24256992340088 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 20:19:32.675975
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb554d930>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.190037965774536 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 20:20:02.300531
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f1a10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.22148036956787 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 20:20:31.841031
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5500990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191854000091553 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 20:21:02.690367
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5573a30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.246769905090332 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 20:21:32.060555
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55859d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.190913200378418 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 20:22:02.664127
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54a5990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.23218011856079 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 20:22:32.255501
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54aaa10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191112995147705 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 20:23:03.009278
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5578930>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.241325855255127 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 20:23:32.411192
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ef950>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.190776824951172 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 20:24:03.056687
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb556f9b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.22689437866211 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 20:24:32.640743
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54dba30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.188313722610474 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 20:25:02.540015
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb551aa70>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.21174168586731 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 20:25:31.804350
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54de9d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.18531847000122 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 20:26:02.414460
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb550da10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.24818205833435 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 20:26:31.974771
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5500990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.18851590156555 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 20:27:02.808129
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5534990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.22982168197632 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 20:27:32.169745
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5583970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19068169593811 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 20:28:02.834974
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb553a950>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.205222129821777 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 20:28:32.374507
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55009d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.18871235847473 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 20:29:03.309179
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54e89b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.233347415924072 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 20:29:32.577795
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb553f9f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.190680265426636 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 20:30:03.096431
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54b69b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.229814529418945 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 20:30:32.765475
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5534930>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191348552703857 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 20:31:02.597381
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55009f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.20951747894287 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 20:31:31.936152
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5543950>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.1914279460907 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 20:32:02.473577
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f0990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.228292226791382 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 20:32:32.086658
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5490970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.190752744674683 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 20:33:02.981257
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5539910>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.21127462387085 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 20:33:32.302359
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb555d9d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191914081573486 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 20:34:02.778028
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5562a50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.22513484954834 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 20:34:32.433963
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb550c9f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.18803381919861 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 20:35:03.360613
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5493990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.211880445480347 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 20:35:32.595224
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d0990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.18396782875061 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 20:36:02.397293
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5549a10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.197102069854736 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 20:36:31.906439
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb558b990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.189617395401 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 20:37:02.692857
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb555d9d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.209731101989746 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 20:37:32.010763
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5500990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.190734386444092 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 20:38:02.523458
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54cc950>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.232853174209595 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 20:38:32.162593
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55349b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.190858125686646 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 20:39:02.858167
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5542990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.229095220565796 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 20:39:32.397942
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ada70>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191575050354004 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 20:40:03.083216
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb555a9b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.1989848613739 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 20:40:32.547126
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ea990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19273352622986 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 20:41:03.216937
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb553c9b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.23526954650879 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 20:41:32.685713
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54e2970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.192135334014893 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 20:42:02.441237
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ef9d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.198426485061646 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 20:42:32.000882
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5549a10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.190528869628906 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 20:43:02.380833
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54fb8f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.245532512664795 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 20:43:31.770490
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d29b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19093608856201 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 20:44:02.434559
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5563990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.223175764083862 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 20:44:32.035979
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb554ca10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.193019151687622 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 20:45:02.881683
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d09b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.214064836502075 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 20:45:32.268719
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54b79d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.189733743667603 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 20:46:02.934311
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54fc9f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19754910469055 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 20:46:32.418766
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5517970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.18930697441101 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 20:47:03.156782
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54c89b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.23476767539978 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 20:47:32.621503
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5531a30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.189434051513672 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 20:48:02.293979
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb550ea50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.197459936141968 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 20:48:31.787767
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5518950>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191287517547607 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 20:49:02.686975
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55389b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.248379707336426 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 20:49:32.037448
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55719d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.18723726272583 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 20:50:02.649547
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5547970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.235795259475708 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 20:50:32.244328
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55299b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191746950149536 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 20:51:02.941208
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5528a50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.240066289901733 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 20:51:32.400089
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ca9f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19278049468994 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 20:52:03.002389
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb551ba10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.209507942199707 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 20:52:32.552603
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55233b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.252686977386475 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 20:53:03.324156
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5512930>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.22731375694275 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 20:53:32.765054
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5582930>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191236972808838 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 20:54:02.286603
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5505970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.23582410812378 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 20:54:31.943882
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54a8a50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.1913480758667 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 20:55:02.682849
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb551ea30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.24474024772644 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 20:55:32.081399
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ef990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.18950319290161 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 20:56:02.688259
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb552b8f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.212656259536743 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 20:56:32.242542
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55459f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19062042236328 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 20:57:03.156825
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ffa50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.30070424079895 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 20:57:32.440184
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5553970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.195913791656494 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 20:59:02.480745
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb558b9d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.24118971824646 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 20:59:31.796677
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb553b970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191351652145386 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 21:00:02.367586
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54dba10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.22582745552063 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 21:00:31.951243
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb555d970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.18981099128723 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 21:01:02.798369
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d39d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.23831081390381 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 21:01:32.144849
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54e89b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191234350204468 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 21:02:02.661339
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54dca10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.211016178131104 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 21:02:32.359500
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54b6910>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.192209720611572 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 21:03:03.116631
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb557f990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.244759559631348 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 21:03:32.498744
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb550ba10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191065788269043 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 21:04:03.185673
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb552a910>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.199095964431763 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 21:04:32.706016
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb549e9f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.190314769744873 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 21:05:02.501165
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55009b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.214449644088745 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 21:05:31.906706
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb550c9f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19049072265625 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 21:06:02.527629
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb550a9b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.201924324035645 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 21:06:32.057319
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54c49b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191527605056763 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 21:07:02.936706
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5582970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.209421634674072 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 21:07:32.220679
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb552b9b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19177508354187 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 21:08:02.864103
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb558c950>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.20207905769348 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 21:08:32.473300
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5545a30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191661596298218 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 21:09:03.149700
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb556a9d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.23217010498047 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 21:09:32.544517
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb618b770>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191510677337646 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 21:10:03.214311
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb551f990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.197489500045776 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 21:10:32.674402
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54e29f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.188971757888794 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 21:11:02.431557
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb549c970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.247692584991455 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 21:11:31.853924
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5532930>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.192120790481567 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 21:12:02.619329
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5554990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19685459136963 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 21:12:32.066702
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb558b9b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.189624071121216 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 21:13:02.786004
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb554b990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.219610452651978 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 21:13:32.218175
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54c8910>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19216799736023 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 21:14:02.828207
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54a4990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.227039098739624 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 21:14:32.446493
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb553d9d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.190308570861816 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 21:15:03.264930
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54cea10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.22022318840027 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 21:15:32.671423
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54e0a30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191741943359375 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 21:16:03.196196
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5549990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.200751066207886 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 21:16:32.842997
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb549a9d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191282987594604 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 21:17:02.477258
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54c6950>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.24881339073181 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 21:17:31.927606
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ef970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.22666883468628 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 21:18:02.538597
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54fc8d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.22674036026001 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 21:18:32.223306
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f79b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19037628173828 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 21:19:02.912690
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb549f9b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.225472688674927 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 21:19:32.318631
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54929f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191676139831543 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 21:20:03.045661
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54cb990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.198503017425537 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 21:20:32.522060
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5516a90>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.189768075942993 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 21:21:03.355720
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55249d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.217540502548218 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 21:21:32.834694
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5525970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.186821699142456 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 21:22:02.295463
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55738f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.2256338596344 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 21:22:31.942934
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55459d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.18960690498352 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 21:23:02.794397
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54af9b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.209798574447632 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 21:23:32.135977
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54af9d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.190566778182983 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 21:24:02.755272
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54b5950>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.20090413093567 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 21:24:32.290615
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb549da30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.18942141532898 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 21:25:02.966948
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ae9f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.293314933776855 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 21:25:32.426846
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55289d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.190428972244263 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 21:26:02.936309
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54a09f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.234116792678833 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 21:26:32.626625
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb551e930>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19003129005432 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 21:27:02.471911
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ff930>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.244216918945312 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 21:27:31.822473
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55229b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19201350212097 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 21:28:02.311722
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb553ba10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.237513303756714 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 21:28:32.005837
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5582a50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19082736968994 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 21:29:02.836876
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5511930>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.251874446868896 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 21:29:32.226612
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5491a50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19154644012451 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 21:30:02.851289
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5529910>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.197139263153076 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 21:30:32.298528
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb555e9d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191431283950806 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 21:31:02.999538
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55789f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.221847534179688 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 21:31:32.465038
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ffa70>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.18893027305603 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 21:32:03.132048
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d19b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.208744525909424 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 21:32:32.698744
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb552c990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.190638542175293 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 21:33:02.460045
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d19b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.247618198394775 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 21:33:31.854955
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb554a9b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.190864086151123 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 21:34:02.391642
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ea950>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.23623037338257 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 21:34:31.986405
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54c9a50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.188527822494507 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 21:35:02.866427
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5577990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.21725034713745 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 21:35:32.195819
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55519f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19068145751953 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 21:36:02.800346
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f2910>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.210930109024048 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 21:36:32.327599
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54caa50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.186646223068237 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 21:37:03.201421
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5561910>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.225159406661987 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 21:37:32.505874
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54a19f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.189095735549927 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 21:38:03.163452
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55719d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.20040225982666 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 21:38:32.664119
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55299d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19063949584961 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 21:39:02.596895
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54da950>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.21878218650818 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 21:39:31.921423
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5f9e6f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19079089164734 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 21:40:02.513226
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5516650>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.20916509628296 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 21:40:32.147156
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f79d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.192655563354492 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 21:41:02.966533
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5546930>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.208224534988403 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 21:41:32.254416
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5566a70>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.18708062171936 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 21:42:02.935329
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54e88d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.198554277420044 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 21:42:32.427294
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5559a10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.1918683052063 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 21:43:03.335108
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb552a970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.2106876373291 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 21:43:32.667285
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54a6910>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19128704071045 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 21:44:02.163493
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ada10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.209036827087402 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 21:44:31.808863
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f3970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.192248106002808 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 21:45:02.670080
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54a4910>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.20797324180603 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 21:45:31.985355
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54b39b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19080686569214 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 21:46:02.567057
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb549d9f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.209441900253296 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 21:46:32.130675
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54bb9b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19001007080078 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 21:47:02.969725
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb556a950>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.233160495758057 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 21:47:32.353001
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ad990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191720724105835 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 21:48:03.026339
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb551c970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.195354223251343 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 21:48:32.562798
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54e3a30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191752433776855 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 21:49:03.171231
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54da9d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.2409029006958 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 21:49:32.728156
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54e8a10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.189076900482178 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 21:50:02.291105
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f39f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.23184323310852 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 21:50:31.933790
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54df970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191817045211792 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 21:51:02.839261
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54a4970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.207162618637085 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 21:51:32.123044
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54a3990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.188864946365356 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 21:52:02.655755
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54c2930>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.227548360824585 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 21:52:32.320418
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54b9970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.190701961517334 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 21:53:03.217349
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d5930>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.219183206558228 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 21:53:32.503695
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb557b9f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.190762758255005 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 21:54:03.073614
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5524950>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.232633113861084 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 21:54:32.712796
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5553930>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191603899002075 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 21:55:02.408164
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb549c9d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.232142448425293 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 21:55:31.872507
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5584a30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191405773162842 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 21:56:02.553121
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55799d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.199743032455444 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 21:56:32.055038
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54a7a10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191608428955078 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 21:57:02.969238
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54cc970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.211141109466553 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 21:57:32.228294
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb549b910>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19182538986206 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 21:59:03.272516
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ec9d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.217271089553833 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 21:59:32.588572
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5fc1690>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.190640211105347 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 22:00:02.338398
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5507970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.198410987854004 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 22:00:31.804608
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ae9d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191243171691895 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 22:01:02.639279
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5588970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.241724967956543 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 22:01:32.000397
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5578950>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.18793487548828 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 22:02:02.614590
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb554e950>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.231831550598145 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 22:02:32.308035
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb556c9f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19125747680664 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 22:03:02.941865
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55818d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.239797115325928 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 22:03:32.501094
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5493970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19072675704956 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 22:04:02.998449
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54a2950>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.369179010391235 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 22:04:32.552553
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb551b9f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19003391265869 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 22:05:02.478048
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb558e9b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.218791484832764 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 22:05:31.844785
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5511970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.186729192733765 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 22:06:02.376305
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb556d8d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.22098994255066 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 22:06:31.918557
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb554d9b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.192208290100098 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 22:07:02.705235
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54b49f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.232896089553833 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 22:07:32.149642
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5548a10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.190954446792603 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 22:08:02.828907
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54eb8f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.200275659561157 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 22:08:32.314078
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5581970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.185076475143433 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 22:09:03.352315
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5530990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.216551780700684 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 22:09:32.613327
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb558a9d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.188166856765747 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 22:10:02.346364
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5ad4c70>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19827938079834 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 22:10:31.862039
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54c8a30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191275119781494 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 22:11:02.623987
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ca9d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.227213621139526 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 22:11:32.020874
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54c0a90>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.18955969810486 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 22:12:02.583372
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f1a70>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.2324116230011 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 22:12:32.215068
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54a5970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191091299057007 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 22:13:03.015204
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55499d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.226520538330078 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 22:13:32.389009
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb555d8f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.190455436706543 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 22:14:03.036269
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5500910>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.204952239990234 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 22:14:32.627610
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54bb9d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191129207611084 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 22:15:03.483288
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54999b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.211044788360596 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 22:15:32.746150
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5496970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19013476371765 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 22:16:02.515173
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54bc970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.196022272109985 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 22:16:31.949504
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f0970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19154453277588 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 22:17:02.586264
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb616b770>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.2300124168396 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 22:17:32.134679
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb552da10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19188380241394 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 22:18:02.856441
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb556b990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.198266983032227 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 22:18:32.326378
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55289b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.189874410629272 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 22:19:03.035199
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f3970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.2396399974823 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 22:19:32.523656
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d59d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19106364250183 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 22:20:03.014117
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5518970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.22342085838318 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 22:20:32.609431
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d5970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.192092657089233 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 22:21:02.448378
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5541970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.207733154296875 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 22:21:31.774224
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55389f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191012859344482 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 22:22:02.322940
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54dda10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.211586713790894 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 22:22:31.970004
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5497990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19142770767212 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 22:23:02.836120
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5534a30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.220114707946777 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 22:23:32.184484
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54c89d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.189496517181396 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 22:24:02.871331
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb557d950>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.2103853225708 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 22:24:32.428641
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5503970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19023633003235 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 22:25:03.171391
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55199b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.230443239212036 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 22:25:32.595728
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54a3930>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19078779220581 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 22:26:03.149785
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5555950>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.219280242919922 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 22:26:32.727155
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d8970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.228682279586792 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 22:27:02.519958
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f0990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.452905416488647 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 22:27:31.915188
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb556a9b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.18986439704895 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 22:28:02.533011
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55049d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.208838939666748 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 22:28:32.107228
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb554d990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.189084768295288 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 22:29:03.028273
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54c6a70>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.222914934158325 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 22:29:32.343952
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55279b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.190622091293335 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 22:30:02.927804
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5501970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.2003231048584 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 22:30:32.477717
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55649f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19083857536316 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 22:31:03.227256
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54c9a30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.2390193939209 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 22:31:32.654016
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5563a70>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19156002998352 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 22:32:02.236781
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54928f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.22833490371704 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 22:32:31.835312
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb554b970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.190805912017822 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 22:33:02.518987
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5580990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.227294206619263 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 22:33:31.983922
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5493650>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.18744730949402 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 22:34:02.530085
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5553a30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.289132595062256 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 22:34:32.169161
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54bea30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.190526247024536 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 22:35:02.980739
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ab9f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.232598781585693 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 22:35:32.295986
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb556c9f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.18764042854309 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 22:36:02.940294
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb552d930>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.23233461380005 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 22:36:32.514125
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54c4990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.18983292579651 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 22:37:03.347787
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ac950>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.239510536193848 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 22:37:32.672981
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5500990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.188749313354492 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 22:38:02.403374
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb554ba30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19627022743225 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 22:38:31.842939
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55009f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19061827659607 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 22:39:02.747244
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54a59b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.20884919166565 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 22:39:32.059651
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb554da70>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.18988347053528 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 22:40:02.767293
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb552d950>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19902753829956 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 22:40:32.189610
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb557d330>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.190931797027588 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 22:41:03.183208
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5523930>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.248656749725342 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 22:41:32.697045
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ada30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19189953804016 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 22:42:02.292121
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54e4950>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.20750856399536 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 22:42:31.849843
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5502990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.193087816238403 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 22:43:02.558930
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5490950>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.226855278015137 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 22:43:31.994987
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54e5a30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.190479040145874 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 22:44:02.838261
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5513990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.232327938079834 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 22:44:32.420185
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb552d950>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191524982452393 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 22:45:03.295092
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54919b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.239065408706665 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 22:45:32.642869
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54dd910>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191216945648193 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 22:46:02.318874
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5587970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.198547840118408 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 22:46:31.776301
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54b69f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19036030769348 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 22:47:02.420032
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb551b930>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.226466417312622 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 22:47:31.968421
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5586a30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19169807434082 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 22:48:02.580612
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55499d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.205570697784424 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 22:48:32.278517
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb554a990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.196334838867188 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 22:49:02.907725
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb551e990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.265060663223267 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 22:49:32.256300
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54df990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191136360168457 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 22:50:02.974765
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55499d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.202483654022217 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 22:50:32.474377
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb550a9f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.192530155181885 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 22:51:03.355528
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5529930>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.21942138671875 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 22:51:32.681952
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5509a50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.189754486083984 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 22:52:02.249956
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5558950>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.208446741104126 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 22:52:31.786167
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54a1a10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.190401077270508 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 22:53:02.705970
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5500990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.212823629379272 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 22:53:31.979376
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb556ea50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.192259550094604 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 22:54:02.648049
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d1950>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.23004126548767 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 22:54:32.208633
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb552f8d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.187644481658936 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 22:55:02.915291
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54da9f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.25151777267456 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 22:55:32.401790
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb556fa90>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.190531969070435 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 22:56:02.922302
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb558e9b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.22053098678589 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 22:56:32.517710
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5506970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191412448883057 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 22:57:03.309731
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54cc970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.271068811416626 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 22:57:32.721429
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f59b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19059109687805 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 22:59:02.819697
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5549970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.22527289390564 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 22:59:32.188880
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb557ea10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.187406301498413 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 23:00:02.756552
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb552b9f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.216413736343384 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 23:00:32.382435
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb552e930>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.192445039749146 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 23:01:03.248359
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5f42630>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.243749380111694 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 23:01:32.598025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55279d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.190112829208374 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 23:02:03.206216
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb554e9d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.20428729057312 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 23:02:32.720538
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55658f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.189101219177246 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 23:03:02.584299
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5543930>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.224128246307373 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 23:03:31.916189
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55649d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.188528537750244 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 23:04:02.547486
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb552da30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.217348337173462 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 23:04:32.174494
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55359d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.18748426437378 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 23:05:02.956923
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54efa10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.242974996566772 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 23:05:32.366814
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5541990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.189495086669922 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 23:06:02.957672
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ee950>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.21441149711609 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 23:06:32.515675
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54a89f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.185836791992188 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 23:07:03.372225
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54a59f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.229039907455444 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 23:07:32.707670
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54faa50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.1914324760437 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 23:08:02.305244
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54bc9d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.22557544708252 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 23:08:31.903497
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5497990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.190876960754395 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 23:09:02.640512
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb550f8b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.248090505599976 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 23:09:32.031065
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ae950>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19180130958557 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 23:10:02.591027
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54cb950>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.219077348709106 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 23:10:32.218210
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55729f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.188680171966553 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 23:11:03.011854
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5515a50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.2354736328125 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 23:11:32.376981
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54c5a30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191518545150757 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 23:12:02.970884
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54af9d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.231024503707886 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 23:12:32.602037
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54c1a30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.189884185791016 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 23:13:02.352537
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5552950>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.271122932434082 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 23:13:31.756199
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55799b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191375017166138 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 23:14:02.445889
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb558c970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19748854637146 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 23:14:32.090997
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54a5a30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191306114196777 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 23:15:02.763627
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ed950>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.24487280845642 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 23:15:32.210094
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb550f990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19140386581421 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 23:16:02.674438
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f1970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.222235918045044 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 23:16:32.268973
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb551e9f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19185209274292 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 23:17:03.042759
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb553e970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.25298523902893 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 23:17:32.520773
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54fe9f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191802263259888 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 23:18:02.963129
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb555a9f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.23834252357483 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 23:18:32.596824
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5537a30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.18459391593933 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 23:19:02.361290
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5547990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.236202239990234 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 23:19:31.772402
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54db9b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.1918523311615 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 23:20:02.431014
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb557ea50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.20527410507202 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 23:20:31.991095
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb549a9b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19270348548889 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 23:21:02.777228
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55179b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.23933434486389 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 23:21:32.181073
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5506910>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19204568862915 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 23:22:02.659065
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb554b950>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.21222972869873 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 23:22:32.314196
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54e6b30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.189894676208496 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 23:23:02.989861
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54a6950>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.221931219100952 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 23:23:32.525760
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb558b9b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19283437728882 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 23:24:03.116056
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5581950>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.211114406585693 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 23:24:32.713406
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5dcc9f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.190710067749023 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 23:25:02.526455
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ee9f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.238154411315918 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 23:25:31.984842
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb549f990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.18679404258728 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 23:26:02.542255
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5556970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.228920936584473 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 23:26:32.144174
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5520990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.187330961227417 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 23:27:02.955166
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54a8950>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.226581811904907 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 23:27:32.415898
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5f13950>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.190804481506348 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 23:28:02.962919
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5546970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.234766244888306 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 23:28:32.604215
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54cd990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.18764567375183 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 23:29:02.428158
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb552a8f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.225959539413452 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 23:29:31.754414
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54fd970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.18941068649292 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 23:30:02.409627
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb553f970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.23144006729126 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 23:30:32.022924
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5528a50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.192146062850952 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 23:31:02.726838
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54b29b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.24535870552063 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 23:31:32.163245
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55429d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.183069944381714 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 23:32:02.819918
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb555c990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.216726779937744 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 23:32:32.411555
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb549e990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.195444345474243 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 23:33:03.192507
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5539950>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.20371103286743 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 23:33:32.567554
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5523a90>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.189862966537476 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 23:34:02.213354
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54e0910>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.226099491119385 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 23:34:31.760151
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb555d910>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.190062522888184 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 23:35:02.693286
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d4990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.21053957939148 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 23:35:31.978013
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb555e9f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19221043586731 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 23:36:02.580221
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ba990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.235600233078003 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 23:36:32.166735
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5508a50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.190001726150513 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 23:37:03.078297
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb549e990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.208123683929443 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 23:37:32.303472
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54df9d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191606998443604 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 23:38:02.938016
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb553fa10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.223649263381958 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 23:38:32.554701
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ca950>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191286325454712 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 23:39:03.295468
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55649d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.23648953437805 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 23:39:32.673558
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54c9a10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.188184022903442 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 23:40:02.412988
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ae9d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.198719024658203 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 23:40:31.829416
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54aca30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.193568229675293 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 23:41:02.685953
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54a4990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.209506034851074 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 23:41:31.962422
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55519b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191239833831787 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 23:42:02.590156
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54e8990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.225825786590576 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 23:42:32.171527
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55749d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191057205200195 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 23:43:02.918528
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ff950>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.23944926261902 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 23:43:32.372390
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54a2a50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191230535507202 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 23:44:02.982543
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb558a970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.201282501220703 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 23:44:32.531283
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54c0950>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.189690828323364 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 23:45:02.530310
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55589d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.211946964263916 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 23:45:31.782581
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f2a10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.189409732818604 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 23:46:02.465413
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5492990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19776964187622 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 23:46:31.964592
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5525a50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.187262535095215 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 23:47:02.723228
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5547970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.23419427871704 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 23:47:32.144670
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5537a10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.19072961807251 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 23:48:02.830474
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54c1950>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.206024885177612 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 23:48:32.390487
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb554f9d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191843271255493 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 23:49:03.145534
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5529990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.23732304573059 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 23:49:32.509619
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb550ba10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.190535306930542 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 23:50:03.161179
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55758b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.204516887664795 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 23:50:32.685135
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ff950>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.186561107635498 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 23:51:02.448415
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb551a9b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.248332023620605 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 23:51:31.856263
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f69d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.18989324569702 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 23:52:02.411611
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5b375f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.219730854034424 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 23:52:32.017672
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54fda70>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.1913423538208 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 23:53:02.760873
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5508a10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.23188281059265 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 23:53:32.205466
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb557c9b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.190831422805786 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 23:54:02.806270
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55799b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.232720136642456 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 23:54:32.410496
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55099b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.188122510910034 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 23:55:03.190933
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb555ca30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.281871795654297 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 23:55:32.557552
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5574990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.190369844436646 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 23:56:02.112730
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54e7970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.233269691467285 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 23:56:31.808867
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5536a50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.191023588180542 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-27 23:57:02.566348
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5530950>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.248823404312134 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-27 23:57:32.078240
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942284
  datou_current_id : 2516235
in upload_from_sqlite, uploading in 19942284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg', '/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg', '/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0000.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0001.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0002.jpg
/home/pi/Desktop/images/27012025/04/18/image_27012025_04_18_03_021466_0003.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0000.jpg
/home/pi/Desktop/images/27012025/04/19/image_27012025_04_19_02_654890_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2516235&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55849f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 20.190765857696533 secondes ---
